Bug Hunt: Finding and Fixing Code Mistakes
1 of 4ICT · My World Quest — full scheme of work · explorer
Bug Hunt: Finding and Fixing Code Mistakes
For grown-ups
Companion summary
Imagine you wrote a set of instructions for a robot, but it kept spinning in circles — what went wrong? Real programmers at big game studios spend hours finding tiny mistakes that make their games crash or glitch. One famous bug in 1962 caused a space rocket to go off course — all because of one wrong character in the code. When you finish, try writing a short set of steps for a friend to follow, then see if they can spot any mistakes you left in on purpose.
Spot the Mistake!
Spot the Mistake!
Imagine you are baking a cake. The recipe says: 'Add 2 cups of sugar.' But you read it wrong and add 2 cups of salt. The cake tastes terrible! The recipe was fine — you just followed a wrong step. Computers have the same kind of problem. When someone writes code, they sometimes make a small mistake. The computer follows the wrong instruction and something goes wrong. Can you think of a time when following the wrong instructions caused a problem for you?
💭 Think about this
If a robot was told to 'turn left, left, left' but it needed to reach a door on the right, what would go wrong?
