Describe a significant difference between a movie animation and aninteractive 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 a method does not?
Can [...]
Entries from August 2009
Week 7 Lab
August 30th, 2009 · No Comments
Tags: Lab
Assignment 2: Interactive
August 24th, 2009 · No Comments
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 [...]
Tags: Uncategorized
Week 6 Lab
August 23rd, 2009 · No Comments
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 [...]
Tags: Lab
Submitting Assignment 1
August 15th, 2009 · No Comments
For assignment 1 you need to submit 2 files: an Alice world (.a2w) file and a HTML (.html) file. The HTML file should be generated using “Export Code For Printing…” under the File menu in Alice. This will allow us to hand-mark your code and give you feedback.
When you are ready to submit [...]
Tags: Assignment
Week 5 Lab
August 15th, 2009 · No Comments
Do the following exercises from the textbook:
Chapter 3 Exercise 4 — Volleyball Jump
Chapter 3 Exercise 7 — Snowman to Stool
Chapter 4 Exercise 10 — Lock Combination
Tags: Lab
Week 4 Lab
August 8th, 2009 · No Comments
The main task of this week’s lab is to present your storyboards for assignment 1. We will be collecting copies of your storyboards, so please have paper versions available.
Remember that a storyboard has both pictures and text. You should have a short description of what each (active) object is doing in each scene.
Once everyone has [...]
Tags: Lab
Assignment 1: Alice goes to Jurassic Park
August 2nd, 2009 · No Comments
Design and program an animated scene based around a dinosaur world. The scene can show anything you like, as long as your program satisfies the following criteria:
It is at least 30 seconds long
It contains at least 3 moving objects
Two or more objects must move simultaneously
At least one object moves its subparts.
Your program must use at [...]
Tags: Assignment