- 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.
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.
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.
- 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
(b), then (c), then (a).
Steps 1 and 2 are in the wrong order — plug the toaster in before pushing the lever, or nothing will heat up.
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'.
- Fill the glass with water (or wash your hands).
Quick check
Which of these best defines "sequence"?
True or false: an algorithm must always be written for a computer.
- 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