200_head

|| Home || Syllabus || Calendar ||

Alice Lab 2-2


Lab, Chapter 2 Section 2

Name:  __________________________                        Date:     __________________


Exercises from Chapter 2

For each of the following exercises, create a storyboard and then translate the storyboard to a program. Include at least one comment in your program. When completed, be prepared to demo the world.
 
1. Complete Exercise 4 (Circling Fish).  USE ALICE 3.0 What operating system? _________ What Alice Beta 3.00________


2. Complete Exercise 5 (Tortoise Gets a Cookie). ____________________   

Extra for Experts
3. Complete Exercise 6 (Magnet Fun). _____________________

Concept Questions (Short answer)

4. (a) Describe what is meant by the term method.


   (b) What does a method define?

5.  (a) Which control statement is used in Alice to create a block of instructions that will occur in sequence when the program is run?


    (b) Which control statement is used in Alice to create a block of instructions that will occur simultaneously when the program is run?


6.  What is meant by the phrase "one block of code can be nested in another"?


7.  How do you know whether a computer program has a bug?

 

8.  What is the purpose of a set instruction?



9.  If comments are ignored by Alice then why do we add comments to our programs?



10.  What built-in method is used to:
      (a) change the orientation of an object


      (b) display a comic-book style text bubble on the screen


      (c) synchronize the movement of one object to the movement of another

 

 



.



gsb_foot