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

Write the missing line of each code so that it prints what it should.

Each pair of codes prints the same. Which one does less work to get there?

  1. fill
  2. change
  3. output
  4. passes
  5. better

Related worksheets

See all 8th Grade Math