COMP1400 – Programming for Designers

Class announcements for Programming for Designers

COMP1400 – Programming for Designers random header image

Week 12 Lab – HashMaps

October 19th, 2014 · No Comments · Lab

The self-test quiz for this week is here. This week’s tutorial is taken from the textbook, exercises 5.25 – 32 on page 174-175. They are reproduced below. The task is to implement a simple phone book where numbers are associated with names, both represented as strings. Your phone book should be able to add a […]

[Read more →]

Tags:

Week 11 Lab – Inheritance

October 12th, 2014 · No Comments · Lab

The self-test quiz for this week is here. The following exercises are taken from chapter 8 of the textbook. Exercise 8.4 Open the project dome-v2. This project contains a version of the DoME application rewritten to use inheritance, as described above. Note that the classdiagram displays the inheritance relationship. Open the source code of the DVD […]

[Read more →]

Tags:

Assignment 3 – The Game of Life

October 6th, 2014 · No Comments · Assignments

DUE DATE: 11:59pm Sunday 26 October. WARNING: This is a draft only. These specifications will be updated. 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 to create a […]

[Read more →]

Tags:

Week 10 Lab – Random Numbers

October 6th, 2014 · No Comments · Lab

The self-test quiz for week 10 is here. These exercises are taken from Chapter 5 of the text book. You should also use this week to catch up with previous labs. Exercise 5.14 Write some code (in BlueJ) to test the generation of random numbers. To do this, create a new class called RandomTester. You can […]

[Read more →]

Tags:

Week 9 Lab – Classes and ArrayLists

September 22nd, 2014 · No Comments · Lab

The self-test quiz for week9 can be found here. Classes Consider a database of student records for the university. What kind of data would be associated with each student? Download the Lab9 BlueJ project. It defines a new class Student which contains some student information Create a few different students in BlueJ. Use the Inspector to […]

[Read more →]

Tags:

Extension for Assignment 2

September 19th, 2014 · No Comments · Assignments

The deadline for submitting assignment 2 will be extended to 11:59pm Wednesday 24 September.

[Read more →]

Tags:

Week 8 Lab – ArrayLists and Classes

September 14th, 2014 · No Comments · Lab

The self-test quiz for week 8 is here. ArrayLists and Classes Download the BlueJ project club.zip for this week’s exercises. There are three classes in the project that help you to represent a club and its members. The Member class is fully defined and contains all the methods you need. Note a couple of things we haven’t […]

[Read more →]

Tags:

Assignment 2 – ArrayList

September 8th, 2014 · 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 21 September 2014) Download the ass2.zip file to get you started. It contains three classes: Track – This class represents a single track […]

[Read more →]

Tags:

Week 7 Mid-Semester Practical Exam

September 3rd, 2014 · No Comments · Announcements

In next week’s lab period, we will conduct a practical exam. This worth 10% of your final mark and is intended to give you an idea of how well you are understanding the material in this course. Your tutor’s will set up a special exam environment for you to login to. Once logged in, you […]

[Read more →]

Tags:

Week 6 Lab – Catch Up and More on Classes and Objects

August 31st, 2014 · No Comments · Lab

The self-test quiz for this week is here Task 1: Catch Up If you haven’t completed exercises from previous labs, you may use this week’s lab to catch up on unfinished work. If you are up-to-date, you can carry on with the following exercises. Task 2: Return to the Ticket Machine Go back to the […]

[Read more →]

Tags: