Lab, Chapter 3 Section 2

Simple Control Structures

 

 

Name:  _________________________________________

 

Date:     _________________________________________

 

 

Exercises from Chapter 3

 

1.  Complete Exercise 4. Volleyball Jump:  _____________

 

 

2. Complete Exercise 5.  SpiderRobot's Walk:  _____________

 

 

3.  Complete Exercise 6.  Blimp and Dragon: __________

 

 

Concept Questions (Short answer)

 

4.  List four different control structures used in creating a program in Alice.

 

 

 

5.  What type of function value is used to check a condition in an If/Else statement?

 

 

 

6.  Describe what happens in an If/Else statement when the instruction in the Else part is Do Nothing?

 

 

 

7.  The following relational operation is available in the World's functions list:   

 

     (a)  Give an example of what "a" and "b" can represent.

 

 

     (b) What type of value is obtained when this operation is evaluated? 

 

 

 

8. What is the purpose of a Loop statement?