Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1bug | AA bug: the steps are in the wrong order | |
| 21. Put on shoes 2. Put on socks | BA mistake in an algorithm that makes the result go wrong | |
| 3To fix a missing step bug, add the step that was left out | CWrong order: the milk is poured before there is a bowl. Move 'Get a bowl' to step 1. | |
| 4To fix an unclear step bug, make the step exact so anyone can follow it | DMissing step: there is no step to wash with soap. Add 'Rub soap on your hands' after step 1. | |
| 51. Pour milk on cereal 2. Get a bowl 3. Eat the cereal | EWalk 10 steps forward | |
| 61. Wet your hands 2. Rinse your hands 3. Dry your hands | F1. Get bread 2. Add butter 3. Add cheese 4. Close sandwich |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
bug — A mistake in an algorithm. Follow the steps until the result goes wrong, then fix that step. It might be in the wrong order, missing, or unclear.A mistake in an algorithm is called a bug1. Put on shoes
2. Put on socks
Bug: step 1 should come after step 2Bug: the step "Switch on kettle" is missing2. Add some sugar
Bug: "some" is vague, so it is unclearFollow the steps until the result goes wrong
Then fix that step