Skip to main content
Computing with Bit

Debug the dance

Ages 5 to 7
Bit the robot says: Watch Bit the robot dance, find the bug and fix it.

Debug the dance

Bit the robot loves to dance. A dance is a program: a list of moves Bit does in order. But Bit's program has a bug. A bug is a mistake in a program. Finding a bug and fixing it is called debugging.

1 of 60 right

Dance 1: One move is wrong.

Look at the dance we wanted, then at Bit's program. Can you predict which step is the bug? Press Watch Bit dance to check, or tap the step you think is wrong.

The dance we wanted

  1. 1.Clap
  2. 2.Wave
  3. 3.Jump
  4. 4.Spin

Bit's program

Tap the step that is wrong.

Bit is ready to dance.

For grown-ups

Ideas for using this game with children
  • Before anyone presses Watch Bit dance, ask the class to predict which step has the bug and say why.
  • Act it out: one pupil reads Bit's program aloud step by step while the class does the moves, then compare with the dance card.
  • Ask pupils to describe the bug in a sentence, such as step 3 says spin but the dance wanted jump.
  • Let pairs write their own four-move dance, hide one bug in it and swap with another pair to debug.