Seventh graders learn to debug — find and fix errors in code. Good debugging is detective work: notice the problem, read the error, locate it, change one thing, and re-test. They order the steps, then debug a program.
Students will be able to…
What do you do when your code doesn’t work?
Project this and have students put the debugging steps in order.
Tap any phase to open the teacher moves and student actions.
Your program crashes — what’s your very first move?
Students learn.
Students practice.
Students apply.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Systematically test and debug programs.
Give attribution and iterate on code.
Document programs to aid debugging.
Troubleshoot computational problems.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students debug a broken program one step at a time. A printable buggy-code sheet is in the CS library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
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.