COMP1400

Programming for Designers

COMP1400 header image 4

Entries from July 2009

Week 3 Lab

July 30th, 2009 · No Comments

Do the following exercises from the textbook and show your code to the tutor:

Circling Fish, Ch 2 Ex 4
Magnet Fun, Ch 2 Ex 6
Helicopter Flight, Ch 4 Ex 4

Use methods where appropriate. Make sure you add comments to your code to explain any unclear parts.

[Read more →]

Tags: Lab

Week 2 Lecture examples

July 28th, 2009 · No Comments

The two student worlds from my lecture today:

Tennis, by Michael Chu
Basketball, by Jeremy Chan

As well as being interesting stories, both these assignments show very good design and code readability. It’s worth reading through the code and imitating their style.

[Read more →]

Tags: Uncategorized

Week 2 Lab - 2009

July 21st, 2009 · No Comments

Tutorial questions
Questions for discussion in group:

List three ways in which a class (3D model) is similar to a blueprint for a house.
Can you have more than one object of the same class in the same world? Why or why not?
Is the centre of an Alice object always located at its centre of mass? Justify your answer.
Describe each [...]

[Read more →]

Tags: Lab