200_head

|| Home || Syllabus || Calendar ||

 

Lab 3-2

Lab, Chapter 3 Section 2  -Simple Control Structures

Name:  ______________________________                   Date:     _________________________________________

Exercises from Chapter 3

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


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?

 



gsb_foot