AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

What is an algorithm?

Week 1 · 1.1 Algorithms all around us · 3 lessons
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.

read a stepdo the stepnext step
Worked examples
the picture
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.
3 claps
Another algorithm: 1 Stand up. 2 Clap three times. 3 Sit down. You clap three times, not two.
all stepsa step skipped
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?
2
Follow it: 1 Draw a sun. 2 Draw a cloud. 3 Draw two birds. How many things are in your picture?
1 sun2 cloud3 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?
breadbread
4
Why do we put numbers on the steps?