Entries from September 2008
September 25th, 2008 · No Comments
Once again, we are having problems with the submission of ‘large’ assignments (~10M +). If your submission fails (or if you receive no confirmation), do not frustrate yourselves by repeatedly trying to submit. Here are the fallback positions:
Email me your assignment (rkwok@cse.unsw.edu.au) (if necessary, compress it with zip or some other compression program)
Try your [...]
[Read more →]
Tags: Assignment
September 19th, 2008 · No Comments
The following code features nested loops. How many times is the ‘inner loop’ executed? How long does the entire block of code take to execute? What would happen to execution time if the duration for the revolving overall Ferris wheel is changed from 12 seconds to 15 seconds? 10 seconds?
Give at least one significant difference [...]
[Read more →]
Tags: Lab
September 16th, 2008 · No Comments
Present your Assignment 2 storyboards.
Evaluate (give the value of) each of the following expressions:
3 < 5
true == false
10 >= 10
true and false
not ( both 3 < 5 and 10 >= 10)
Which of the expressions in question 5 (above) is considered a logical expression? Give a reason for your choice.
Exercise 6-10 Flying Between Two [...]
[Read more →]
Tags: Lab
September 10th, 2008 · 1 Comment
As with assignment 1, there will be two phases to your submission of assignment 2:
Designs must be presented in the week 8 lab and hard-copies of your flowcharts given to your tutor.
Final implementation is due at the end of week 9 (Midnight Sunday 2628 Sept)
You must submit your assignments online using the online ‘give‘ page. [...]
[Read more →]
Tags: Assignment
This Friday’s lecture features the best animations from assignment 1. We will look for spare change under the couch and buy some (edible?) prizes. There will also be a discussion of the main positives and negatives from the assignment markers.
[Read more →]
Tags: Uncategorized
In assignment 2 it is required that you work together in pairs. It is very important that you find a partner this week and email your tutor letting them know who you are working with. Someone from your tut class is preferable, but not mandatory.
We’ve been asked how you are expected to manage pair work, [...]
[Read more →]
Tags: Assignment
Describe a significant difference between a movie animation and an interactive animation in terms of control of flow.
In Alice’s drag and drop interface, relational operations are listed as part of the World’s built-in functions. Give a reason for making relational operations world-level, rather than class-level.
Why is a function required to have a return statement whereas [...]
[Read more →]
Tags: Lab
For your second assignment, you will work in pairs to design and create an interactive game.
Requirements
Your program must include:
At least one user-defined class with 2 or more instances in the world.
At least 1 user-defined function with parameters (class-level and/or world-level).
At least 2 events with different handlers.
Pair work
Choose your partner in your Week 7 tutorial. It [...]
[Read more →]
Tags: Assignment
Exercises from the textbook:
Chapter 5 Ex 7 — Ninja motion
When you have completed this, change the ‘When key is typed’ events to ‘While key is pressed’ (by right clicking on the event and selecting ‘change to…’). Make the actions happen at the beginning of the keypress rather than at the end. Can you make the [...]
[Read more →]
Tags: Lab · Textbook