Home›Lesson Plans›Computer Science›Program Development · Grade 3

Fixing Mistakes

Third graders learn that every coder makes mistakes — and fixing them is called debugging. You run the program, find the step that goes wrong, fix it, and run it again. They order the steps, then fix a mistake in a program.

Grade 3Fixing Mistakes (Debugging)45 minutes1 class periodCSTA / ISTEExplicit teaching4 StandardsCSTA
Start the Lesson
Assign or share this lesson

Copy link works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment.

Lesson at a Glance

Everything you need before the bell rings

Learning Objectives

Students will be able to…

  • ✓Know that bugs are normal.
  • ✓Follow steps to fix a mistake.
  • ✓Find the wrong step.
  • ✓Fix and check it.
Essential Question

What do you do when your code does not work?

0
Lesson Phases
0
Vocabulary Terms
0
Standards Aligned
0
Interactive Task
Put in Order · Interactive

Order the Fixing Steps

Project this and have students put the steps for fixing a mistake in order.

🐛 Put the fixing (debugging) steps in orderTry it
Tap the first step to fix a mistake!
The Lesson · Use → Modify → Create (a coding progression with Unplugged practice)

45 minutes, five moves

Tap any phase to open the teacher moves and student actions.

1

Hook — Oops!

5 min

What do you do when your program does the wrong thing?

👩‍🏫 Teacher Moves

  • Run a program with a bug.
  • Ask what to do.
  • Set the goal.

🎒 Student Actions

  • Look.
  • Guess.
  • Get ready.
2

Use — Fixing Mistakes

10 min

Students use the steps.

👩‍🏫 Teacher Moves

  • Send students to Order the Fixing Steps.
  • Order the steps.
  • Note run → find → fix → run.

🎒 Student Actions

  • Order.
  • Say.
  • Note it.
3

Modify — Find the Bug

12 min

Students modify.

👩‍🏫 Teacher Moves

  • Point to the step that goes wrong.
  • Guess the cause.
  • Mark it.

🎒 Student Actions

  • Point.
  • Guess.
  • Mark.
4

Create — Fix It

12 min

Students create.

👩‍🏫 Teacher Moves

  • Fix a mistake in a program.
  • Run it again.
  • Check it works.

🎒 Student Actions

  • Fix.
  • Run.
  • Check.
5

Reflect — Reflect

6 min

Students close.

👩‍🏫 Teacher Moves

  • Say the first step.
  • Say what debugging means.
  • Complete the exit ticket.

🎒 Student Actions

  • Say it.
  • Say.
  • Complete the exit ticket.
Standards Alignment

Built to the standards you report on

Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.

CSTA
1B-AP-15

Test and debug a program to make sure it runs.

CSTA
1B-AP-10

Create programs with sequences & loops.

CSTA
1B-AP-11

Decompose a problem to find the bug.

ISTE
5 Computational Thinker

Test and fix solutions.

Differentiation

One lesson, every learner

Multilingual Learners

ELL / EMERGING READERS
  • Fixing-step cards.
  • Frame: “run, find, fix, check.”
  • Think aloud a fix.

Support & Access

IEP / 504
  • Use 3 steps.
  • Fix one simple bug.
  • Use a checklist.

Stretch & Extend

GIFTED / EARLY FINISHERS
  • Find 2 bugs.
  • Explain the fix.
  • Help a partner debug.
Materials

What to gather

  • 📽️Screen / board
  • 🐛Fixing-step cards
  • 💻Order the Fixing Steps
  • 🎮A buggy program
  • 📓Notebooks
  • 🎫Exit-ticket slips
Vocabulary

Key terms — hover for a quick definition

buga mistake in codedebugto find and fix a bugrunmake the program gofindlocate the wrong stepfixcorrect the stepcheckmake sure it worksmistakesomething not quite righttry againrun it after fixing
Evaluate

Exit Ticket

Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.

QUESTION 1
What is fixing a mistake in code called?
Debugging.
QUESTION 2
What is the first step?
Run the program and watch what happens.
QUESTION 3
What do you do after you fix a step?
Run it again to check.

Reflect: fixing mistakes.

Have students list the steps to fix a mistake. A printable debugging worksheet is in the Computer Science library.

Study · Flashcards

Study the key terms

Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.

🃏 CS Fixing Mistakes (Grade 3)Flip
Card 1
Term
Tap to flip →
Meaning
0

Nice work!

Practice · Quiz

Check your understanding

A quick self-check with instant feedback, drawn from this lesson’s key terms.

📝 CS Fixing Mistakes (Grade 3)Quiz
Score: 0
1 / 6
Question 1
0%

Nice work!

Practice · Worksheet

Printable worksheet

A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.

🖨️ CS Fixing Mistakes (Grade 3)Print
Name: ________________________
Date: ____________

Part A · Write the word that matches each meaning

Word bank: bug, check, debug, find, fix, mistake, run, try again
  1. to find and fix a bug
  2. make sure it works
  3. run it after fixing
  4. a mistake in code
  5. make the program go
  6. something not quite right
  7. correct the step
  8. locate the wrong step

Part B · Show what you learned

  1. What is fixing a mistake in code called?
  2. What is the first step?
  3. What do you do after you fix a step?
Answer key — Part A: 1) debug · 2) check · 3) try again · 4) bug · 5) run · 6) mistake · 7) fix · 8) find
Part B: 1) Debugging. 2) Run the program and watch what happens. 3) Run it again to check.