Boxi Learn › Computing › Stage 1 · Observe and Say
Find the bug
CS-4 Mistakes are normal — find themX-1 Guess, then check
What many people think
If the program is wrong you have to start again from scratch.
The idea
To find a bug, run one step at a time and compare what happens with what you expected.
Explain it
A friend's robot program stops one square from the star, and they want to delete it all. Explain how they can find the wrong command instead.
Try at home
Write directions from your bed to the kitchen. Ask someone to follow them, one line at a time, while you watch. Where do they first go wrong? Change only that line.