Tenth graders learn to test their code — thinking up test cases (including tricky edge cases), running them, fixing failures, and re-testing. Testing catches bugs before users do. They order the process, then write test cases for a program.
Students will be able to…
How do you make sure your code actually works — in every case?
Project this and have students put the testing steps in order.
Tap any phase to open the teacher moves and student actions.
Your code runs once — but does it work for ALL inputs?
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.
Evaluate correctness with test cases.
Develop and test as a process.
Verify computational solutions.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students write test cases for a small program. A printable test-case worksheet 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.