Test & Debug
Thinking It Through · computational thinking — run a program, find the bug and fix it

Kavi's Robot Goes the Wrong Way
Kavi wrote a little program so his robot would walk to the shiny star. He pressed run — but the robot turned and bumped the wall! "Oh no, something is wrong," Kavi hooted. A mistake in a program is called a bug 🐛. So Kavi did what every coder does: he tested it again and watched closely, found the one wrong step, and fixed it. He ran it once more — and this time the robot walked straight to the star! Test, find the bug, fix it — that is how we make a program work.
What your child will learn
A peek inside
Try this at home: A mistake in a program is called a ____.
Ready to play and learn?
Start the free interactive lesson, or print the handout for screen-free play.
Part of Computing · Stage 3 · S3 on KAVI Academy — a secular, whole-child learning platform for ages 5–12.
