| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding of ways of exposing and avoiding faults in programs | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick recall: “What went wrong in your last coding project?” Collect a few examples of faults, errors, and failures. Link these to today’s focus on systematic ways to expose and avoid faults. Explain that by the end of the lesson students will be able to design, execute, and evaluate effective tests. |
Lesson Structure:
|
|
|
Conclusion: Recap the testing techniques and how coverage metrics guide improvement. Students complete an exit ticket: “One test design method I will use next time and one coding practice to avoid faults.” Assign homework to apply TDD on a small programming task and document the test cases. |
|
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.