Debugging: Find and Fix the Bug

An unplugged coding lesson. It teaches what a bug is and a trace, compare and fix routine, with worked examples and hinted tries. Then children debug three robot programs on a grid, spot bugs in everyday steps and write a program of their own.

First page of the worksheet “Debugging: Find and Fix the Bug”
Download PDF

For members. Join for $119.88 a year to download every Grade 2 worksheet.

Grade
Grade 2
Subject
Technology
Skill
Find and fix a mistake in a sequence of steps
Time
About 35 minutes
Includes
11 questions, answer key, teaching notes

Standards

  • CSTA 1A-AP-14

    Debug (find and fix) errors in an algorithm or program that includes sequences and simple loops.