1
Instructions for a job
Computing 1: Topic 1.1, pp. 9–18
GoalSay that an algorithm is a set of steps that tells us how to do a job.
New words
instruction · one step that tells you what to doalgorithm · a set of steps that tells you how to do a job
Explanation
An instruction tells you one thing to do. An algorithm is a set of instructions. It tells you how to do a job. People use algorithms every day. Computers follow algorithms too.
Worked examples
Mia plants a bean seed. Her algorithm: 1 Fill a pot with soil. 2 Push in the seed. 3 Add a little water.
A grown-up and a child cross a road. The algorithm: 1 Stop at the kerb. 2 Look left and right. 3 Listen. 4 Walk across when it is clear.
A game on a tablet has steps too: 1 Press start. 2 Pick a friend to play. 3 Play!
Class activity
Dance algorithm: make up a dance with three steps, for example 1 clap twice, 2 stamp your feet, 3 slowly turn round. Say the steps out loud. A partner does your dance, one step at a time. Then swap!
Practice
1
What do we call a set of steps that tells you how to do a job?
An algorithm.
2
Is this an algorithm? ‘Open the door. Walk in. Close the door.’
Yes. It is a set of steps for a job.
3
Count the instructions: 1 Open the box. 2 Take out the ball. 3 Throw the ball gently.
3 instructions.
4
Name one job at home that you do with steps (an algorithm).
Any sensible job, for example laying the table or feeding a pet.