How to use this sheet

  • Have the child trace each program with a finger on the grid, one step at a time, before writing an answer.
  • Ask the child to read the arrows or commands aloud as they go.
  • When a program fails, have the child find the first step where it went wrong. That is debugging.

Common mistakes

  • Mixing up the robot’s left and right when it faces down the grid. Turn the sheet, or stand and face the same way.
  • Running a repeat block once fewer or once more than it says. Count the repeats aloud.
  • Skipping a step in a long program. Mark each step as it is done.

On this sheet

Start on the arrow. A repeat inside a repeat runs in full each time round.

Each code has one wrong line. Circle it, then write the right step.

Write your own code to take the arrow to the letter. Test it on the grid.

  1. end
  2. fix
  3. write

Related worksheets

See all 4th Grade Math