3
Follow the steps
Computing 1: Topic 1.1, pp. 9–18
GoalFollow an algorithm one step at a time, and say why we do not skip steps.
New words
follow · do each step, one after anotherskip · miss a step out
Explanation
To follow an algorithm, read one step. Do that step. Then read the next step. Do not skip a step. Do not do two steps at once. Numbers help you keep your place. A computer follows every step exactly.
Worked examples
Nodira’s algorithm: 1 Draw a big oval. 2 Draw a triangle at one end for a tail. 3 Draw one eye. Follow it and you draw a fish.
Another algorithm: 1 Stand up. 2 Clap three times. 3 Sit down. You clap three times, not two.
Omar skips step 2. He does not draw the tail. His fish is not finished. Every step matters.
Class activity
Human robot game: one person is the robot. The other says one step at a time, for example ‘Walk forward three steps. Stop. Clap once.’ The robot does only what it hears. Swap places. What happens if you say two steps at once?
Practice
1
Follow it: 1 Hop two times. 2 Clap one time. 3 Turn around. What do you do second?
Clap one time.
2
Follow it: 1 Draw a sun. 2 Draw a cloud. 3 Draw two birds. How many things are in your picture?
4 things: a sun, a cloud and two birds.
3
Ravi made a sandwich with only bread and nothing inside. The steps were 1 bread, 2 cheese, 3 bread. Which step did he skip?
Step 2, the cheese.
4
Why do we put numbers on the steps?
They show the order and help us keep our place.