COMP1400 – Programming for Designers

Class announcements for Programming for Designers

COMP1400 – Programming for Designers random header image

Entries Tagged as 'Assignments'

Assignment 3 – Objects and ArrayLists

October 4th, 2013 · No Comments · Assignments

In this assignment you will be implementing a simple job queue using objects and array lists. Due date: Midnight Friday 25 Oct (end of week 12) Topics covered This assignment covers the following ideas: OO design: Abstraction and encapsulation Implementing a class with fields, constructors and accessor methods, Handling collections of objects with ArrayLists, Implementing […]

[Read more →]

Tags:

Assignment 2 – Classes and Objects

September 5th, 2013 · No Comments · Assignments

NOTE: check this web site regularly for updates and clarifications to the assignment specification. Due Date: Sunday week 8 (23:59:59 22 September 2013) ChangeLog: 11-09-2013: Submission for Assignment 2 enabled Task Suppose you are designing a program for an automated teller machine. The ATM generates transactions that are sent to the banks central computer for […]

[Read more →]

Tags:

Assignment 1 – Loops and Arrays

August 15th, 2013 · No Comments · Assignments

Due: 11:59pm Sunday 1 September (i.e. the end of week 5) This assignment is about loops arrays. You will write three methods to manipulate arrays. The first two are easy. The third one will require more thought about the design. You will submit the assignment using the CSE give system (see below). Download the BlueJ project, Assignment1.zip. […]

[Read more →]

Tags:

Assignment 2

August 23rd, 2012 · No Comments · Assignments

NOTE: This assignment is due by midnight Friday Sunday Sept 16 (the end of week 8). [Corrected] For this assignment you will write a program that implements Conway’s Game of Life. The board is a rectangular array in which a cell is designated as either live or dead. A few simple rules tell you how […]

[Read more →]

Tags:

Assignment 1

August 6th, 2012 · No Comments · Assignments

Due: 11:59pm Friday 17 August (i.e. the end of week 5) This assignment is about arrays. You will write three methods to manipulate arrays. The first two are easy. The third one will require more thought about the design. You will submit the assignment using the CSE give system (see below). Download the BlueJ project, […]

[Read more →]

Tags:

Ass 3 solution

October 31st, 2011 · No Comments · Assignments

I have posted my solution to assignment 3 for you to download.

[Read more →]

Tags:

Ass 3 Unit Testing

October 11th, 2011 · No Comments · Assignments

It turns out that testing the play() method on your classes is tricker than I had anticipated when I set assignment 3. To test this method properly, you need to set up a game in a known situation, forcing one of the players to play the card you are testing and then check that it […]

[Read more →]

Tags:

Assignment solutions: ass1 & ass2

October 11th, 2011 · No Comments · Assignments

My solutions to assignment 1 and assignment 2 are now available for you to download.

[Read more →]

Tags:

Assignment 3 – Uno

September 25th, 2011 · No Comments · Assignments

Due Date: Sunday week 12 (23:59:59 16 October 2011) Your final assignment is to complete an implementation of the game of Uno. The focus of the assignment is on using inheritance. You will also be required to write unit tests for you code to demonstrate its correctness.

[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: