COMP1400 – Programming for Designers

Class announcements for Programming for Designers

COMP1400 – Programming for Designers random header image

Lab 7 – debugging

August 25th, 2011 · No Comments · Lab

For this project you will be debugging a simple ‘games portal’ program. You can download the program as a Bluej project here. The code is complete and compiles correctly but it has a number of bugs in it that mean it doesn’t work properly. It is your job to find them. There are two classes […]

[Read more →]

Tags:

Plagiarism

August 23rd, 2011 · No Comments · Uncategorized

Marking assignment 1, I have noticed a fair amount of code that has quite clearly been copied and pasted from the same source. I will remind you that the University has some quite stiff penalities for plagiarism, including immediate failure of the assignment or the whole course. Now I don’t want to have to play […]

[Read more →]

Tags:

Assignment 2

August 23rd, 2011 · No Comments · Assignments

Your second assignment will test your ability to use lists. Your task will be to implement a class representing a playlist from a music program like iTunes. Due Date: Sunday week 8 (23:59:59 18 September 2011) Download the ass2.zip file to get you started. It contains three classes: Track – This class represents a single […]

[Read more →]

Tags:

lab 6

August 18th, 2011 · No Comments · Lab

It seems that most classes spent week 5 working on the assignment, so my advice is to use this week to go back to lab 5 and continue working on it, or do revision from any of the earlier labs.

[Read more →]

Tags:

Assignment 1 – sample solution

August 11th, 2011 · No Comments · Assignments

I have made a sample solution to assignment 1 (with the source code removed of course) so you can check whether your solution does the same thing as mine. You can download it here.

[Read more →]

Tags:

Assignment 1 correction

August 11th, 2011 · No Comments · Assignments

It has pointed out to me that in the Assignment 1 spec, I wrote: The player’s initial health (which is also their starting health). This should read: The player’s initial health (which is also their maximum health). So if the player starts with 30 health points then this is the maximum amount of health they […]

[Read more →]

Tags:

lab 5 – lists

August 11th, 2011 · No Comments · Lab

Your task today is to implement a program to represent decks and hands of playing cards. Download the cards.zip file and uncompress it. It contains an incomplete BlueJ project called cards. Open the project and inspect the classes: Card – this represents a single playing card. Deck – this represents a deck of cards. The […]

[Read more →]

Tags:

lab 4 – object interaction

August 5th, 2011 · No Comments · Lab

Task 1: Universities Suppose we were writing a program to administer a university. Discuss: What are the different levels of abstraction we might use to represent the university? Choose an object at the mid-level of your hierarchy. What kind of public interface might it provide? What private implementation details might it hide? Task 2: Return […]

[Read more →]

Tags:

Consultation time

August 4th, 2011 · No Comments · Uncategorized

Malcolm will be doing consultations for COMP1400 students at 2-3pm on Tuesdays in consultation room G01 on the ground floor of the K17 building.

[Read more →]

Tags:

Assignment 1: RPG Player

August 1st, 2011 · No Comments · Assignments

NOTE: This assignment is for COMP1400 students ONLY. If you are an INFS1609 or 2609 student you should look at the assignment on the INFS1609 blog. Due Date: Friday week 5 (23:59:59 19 August 2011) Your first assignment is to implement a class to represent a simple player in a role-playing game like World of […]

[Read more →]

Tags: