Skip to content
PlayOwl

Coding · Grade 1

Debug with a Trace

First graders make a trace of a program, recording Bolt's row, column and direction after each block. They compare traces with plans to find the first wrong block (which may come before the bump), and fix bugs in programs and loops, then test again.

  • 3 lessons
  • About 60 minutes
  • Trace and debug check: 6 questions
  • Ways to answer: program with blocks, choose an answer, highlight a text, match pairs, type a number and true or false
Try it now (no account) One of the five free starter courses Open in PlayOwl

What learners will discover

  • Make a trace: record where Bolt is, and which way it faces, after each block.
  • Use a trace and a plan to find the first block where a program goes wrong.
  • Fix bugs, including a wrong repeat number or a block outside a loop, and test again.

Lessons

  1. Make a trace 4 steps2 practiceabout 14 min
  2. Find the first wrong step 4 steps2 practiceabout 15 min
  3. Fix bugs, even in loops 5 steps3 practiceabout 16 min
  4. Trace and debug check 6 questions at the end

Keep exploring

Games to practice with

More 1st grade coding

Guide for grown-ups