Open the Shell in Calico and complete the following exercises.
Programming Exercise 1: Beep
1. Type:
beep (1,880) 2. Press "return" 3. Change the numbers in the parenthesis ("parameters"). The first number can be between 1 and 5 and the second number can be between 200 and 880. Run the command. Programming Exercise 2: Forward
1. Type:
forward(1,1) 2. Press "return" 3. Change the parameters. The first parameter can be between -1 and 1. The second parameter can be between 0 and 5. Place the Scribbler on the floor and run the command. Watch the video to see the forward commands in action.
Programming Exercise 3: Backward
1. Type:
backward(1,1) 2. Press "return" 3. Change the parameters. The first parameter can be between -1 and 1. The second parameter can be between 0 and 5. Place the Scribbler on the floor and run the command. Do you notice any identical movements for different lines of code? Are there any statements that are written differently but produce the same behavior?
|
Deliverable
|