Lesson 9

Let's Help Debug!

In this lesson, students believe they are helping to debug Very Hungry Bee-Bot programs made by kids at another school. In groups, they use the Three Button Protocol to find and fix bugs in a systematic way.


  1. Warm-up: Model how to use the Three Button Protocol to debug a program. (7 minutes)
  2. Main Activity: Students collaboratively debug four more programs. (15 minutes)
  3. Debrief: What was challenging about debugging someone else's work? How did you feel when you found a bug? Who do you want to appreciate for helping you do this challenging work? (10 minutes)



  • input - ways to enter data into a computer
  • output - information produced by a computer
  • perseverance - continued effort to do or achieve something despite difficulties, failure, or opposition
  • sequence - events arranged in a specific order, from beginning to end

Additional Resources


  • CA CSS K-2. DA. 7 - Store, copy, search, retrieve, modify, and delete information using a computing device, and define the information stored as data.
  • CA CSS K-2. AP. 14 - Develop plans that describe a program’s sequence of events, goals, and expected outcomes.
  • CA CSS K-2. AP. 15 - Give attribution when using the ideas and creations of others while developing programs.
  • CA CSS K-2. AP. 16 - Debug errors in an algorithm or program that includes sequences and simple loops.
  • CA CSS K-2. AP. 16 - Describe the steps taken and choices made during the iterative process of program development.