COMP1400 – Programming for Designers

Class announcements for Programming for Designers

COMP1400 – Programming for Designers random header image

Update to Assignment 1

August 27th, 2014 · No Comments · Announcements

Please note the clarification to question 3 in assignment 1 that we discussed in the Monday lecture. Both input arrays must be the same length, so you should check that and output an error message if they are not equal.

[Read more →]

Tags:

Change of Lab Locations

August 25th, 2014 · No Comments · Announcements

Due to an issue in the CSE labs in Old Main Building (piano, organ, clavier), classes scheduled in those labs have to be relocated. Although COMP1400 labs are not scheduled there, we have to move two lab classes to accommodate the relocations. Please take note of the following changes: sanhu tue 16:00 18:00 -> viola […]

[Read more →]

Tags:

Lab Week 5 – Designing Classes

August 24th, 2014 · No Comments · Lab

The self-test quiz for this week is here. Assignment 1 If you haven’t started working on assignment 1, follow the assignment instructions to download the skeleton project. Make sure you understand what is required. If not ask your tutor. Assignment submission will be enabled later in the week. Investigating the TicketMachine: Download the TicketMachine project we’ve […]

[Read more →]

Tags:

Lab Week 4 – Loops and Arrays

August 16th, 2014 · No Comments · Lab

In this lab, we’ll practice creating a new BlueJ project from scratch. Use the “New” menu item to make a new class. Call it Week4. All the exercises below can be done in the same class file. You may not be able to finish all the questions during the lab time. Make sure that you […]

[Read more →]

Tags:

Assignment 1 – Loops and Arrays

August 13th, 2014 · No Comments · Assignments

Due: 11:59pm Sunday 31 August (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:

Lab Week 3 – Data Types

August 10th, 2014 · No Comments · Lab

Feedback on your progress Each week, we will post several short quiz questions to encourage you to do some preparation before the lab. The intention of the quizzes is to give you quick feedback so that you know if you understand the material in the course so far and to encourage you to prepare for […]

[Read more →]

Tags:

Week 2 – Getting to know BlueJ

July 30th, 2014 · No Comments · Lab

There are three tasks for this week’s lab: Activate your CSE account. Write your first program! Play with BlueJ Activate your CSE account The first thing we will do in this week’s lab is activate your CSE account, if you haven’t done so already. Login as ‘newuser’ Follow the prompts to activate your account. Write […]

[Read more →]

Tags:

Week 13 Lab – Prac Exam

October 20th, 2013 · No Comments · Announcements, Lab

Don’t forget that the prac exam will be held in the regular lab times in week 13. This is compulsory and comprises 20% of your marks. It will have the same format as the mid-semester prac exam, except that you’ll have the full two hours. Like the mid-semester exam, you will be allowed to bring […]

[Read more →]

Tags:

Week 12 Lab – HashMaps

October 20th, 2013 · No Comments · Lab

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 new name/number pair and you should be able […]

[Read more →]

Tags:

Week 11 Lab – Inheritance

October 12th, 2013 · No Comments · Lab

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 class and remove the ‘extends Item‘ phrase. Close […]

[Read more →]

Tags: