A bug is a mistake in a program. Debugging means finding and fixing it. Every programmer, from beginners to experts, spends lots of time debugging — so learning to do it calmly and step by step is a real superpower.
What your child will learn
- Trace a program one step at a time
- Find the single step that stops a program from working
- Explain what the step should have been
Bugs are normal
In Bug Garden, the robot is meant to reach the star but one arrow is wrong. Children trace the path with their finger, notice where it goes off track and name the buggy step.
This builds a healthy attitude to mistakes: a bug isn’t failure, it’s a puzzle to solve.
Example questions
Here are a few questions like the ones in the first quest. Can you solve them?
1. The robot should reach the star, but one step has a bug. Which step is wrong?
- Step 1
- Step 2
- Step 3
Show answer
Answer: Step 1. Step 1 should be → instead of ←. Fix that one arrow and the robot reaches the star!
2. The robot should reach the star, but one step has a bug. Which step is wrong?
- Step 1
- Step 2
- Step 3
Show answer
Answer: Step 3. Step 3 should be ↑ instead of ←. Fix that one arrow and the robot reaches the star!
3. The robot should reach the star, but one step has a bug. Which step is wrong?
- Step 1
- Step 2
- Step 3
Show answer
Answer: Step 3. Step 3 should be ↓ instead of ←. Fix that one arrow and the robot reaches the star!
Tips for grown-ups
- Give your child deliberately wrong directions around the room and let them debug you.
- When something goes wrong in everyday life, ask “Where did the bug creep in?”