Writing Clear Steps

Practise writing your own precise instructions for everyday tasks.

  • Define and explain Writing Clear Steps in your own words
  • Use key terms such as algorithm accurately
  • Apply what you have learned to new examples and questions
  • Avoid the common mistakes learners make with this topic

This lesson focuses on Writing Clear Steps: practise writing your own precise instructions for everyday tasks.

Definition: Writing Clear Steps

Practise writing your own precise instructions for everyday tasks.

Key ideas

Break big jobs into small steps

Even huge tasks, like getting ready for school, are just lots of tiny steps in a row. Splitting a big problem into small, manageable steps is called decomposition, and it is the secret behind every computer program ever written.

Order matters

Instructions must be given in the right sequence. If a recipe told you to ice the cake before baking it, you would get a mess. Algorithms work the same way: each step builds on the ones before it, so a computer follows them exactly in the order written.

Key term — algorithm: A precise, step-by-step set of instructions for completing a task or solving a problem, like a recipe for a cake.

The Jam Sandwich Robot

Give instructions so precise that a 'robot' (your teacher) can make a jam sandwich without making a mess.

Say 'Pick up one slice of bread with your left hand' — vague orders like 'get the bread' let the robot grab the whole loaf. Say 'Pick up the butter knife with your right hand' — the robot must know exactly which tool to use. Say 'Spread butter on one side of the slice' — if you skip 'one side', the robot may butter both. Say 'Put one spoonful of jam on the buttered side' — a measurement stops the robot from using the whole jar. Say 'Place the second slice on top' — now the sandwich is finished and tidy.

Answer: A complete algorithm: pick up one slice of bread, pick up the knife, spread butter on one side, add one spoonful of jam, and place the second slice on top. Every step names the exact action, the tool and the amount — nothing is left to guess.

Common mistakes
  • Instructions are too vague Correction: name the exact object, action and amount in every step — 'pick up the red cup' beats 'get that thing'.
  • Steps are in the wrong order Correction: act the steps out yourself first; if putting on shoes before socks feels wrong, the order needs fixing.

Practice

Why would a robot fail if you told it to 'tidy your bedroom'?
Think about how many smaller jobs 'tidy' hides.

The instruction is too vague — the robot cannot guess what tidy means, so you must break it into exact steps like 'pick up the books and put them on the shelf'.

Put these steps for brushing your teeth in the right order: (a) rinse your mouth, (b) put toothpaste on the brush, (c) brush for two minutes.
Which step must come before the brush can do its job?

(b), then (c), then (a).

Spot the bug: 1. Put bread in the toaster. 2. Plug in the toaster. 3. Push the lever down.
What happens if the toaster has no power at step 3?

Steps 1 and 2 are in the wrong order — plug the toaster in before pushing the lever, or nothing will heat up.

Give two reasons why 'draw a cat' is a poor instruction for a robot.
What would the robot need to know that you have not said?

It does not say what to draw with or on, nor what the cat should look like — the robot would have to guess the tool, the size and every detail.

Quick check

Writing Clear Steps — quick check

Which of these best defines "algorithm"?

A precise, step-by-step set of instructions for completing a task or solving a problem, like a recipe for a cake.

True or false: an algorithm must always be written for a computer.

False — recipes, knitting patterns and dance routines are all algorithms, and none of them needs a computer.

Write the missing step: 1. Open the tap. 2. ___. 3. Turn off the tap.

2. Fill the glass with water (or wash your hands).
Key takeaways
  • Writing Clear Steps: practise writing your own precise instructions for everyday tasks.
  • Break big jobs into small steps: Even huge tasks, like getting ready for school, are just lots of tiny steps in a row.
  • precise: Exact and detailed, leaving no room for guessing.
  • Watch out for: instructions are too vague