Following Instructions Exactly

Act out instructions word for word to see why order and detail matter.

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

This lesson focuses on Following Instructions Exactly: act out instructions word for word to see why order and detail matter.

Definition: Following Instructions Exactly

Act out instructions word for word to see why order and detail matter.

Key ideas

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.

Be specific

Humans are good at filling in gaps, but computers are not. Telling a robot to 'make a sandwich' is useless; you must say 'pick up the bread', 'spread the butter' and so on. Writing algorithms trains you to notice every small step you normally do without thinking.

Key term — sequence: The order in which instructions are carried out. Changing the sequence can change the result completely.

Worked example: Following Instructions Exactly

Give two reasons why 'draw a cat' is a poor instruction for a robot.

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.

Answer: 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.

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

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.

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'.

Write the missing step: 1. Open the tap. 2. ___. 3. Turn off the tap.
What is the tap for?
  1. Fill the glass with water (or wash your hands).

Quick check

Following Instructions Exactly — quick check

Which of these best defines "sequence"?

The order in which instructions are carried out. Changing the sequence can change the result completely.

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.
Key takeaways
  • Following Instructions Exactly: act out instructions word for word to see why order and detail matter.
  • Order matters: Instructions must be given in the right sequence.
  • precise: Exact and detailed, leaving no room for guessing.
  • Watch out for: instructions are too vague