| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding of an exception and the importance of exception handling | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Start with a quick poll: who has ever seen a program crash because a file was missing? Review prior knowledge of runtime errors and explain that today’s success criteria are to define exceptions, illustrate the try‑except‑else‑finally pattern, and apply it to a real file‑reading task. |
Lesson Structure:
|
|
|
Conclusion: Recap the key steps of robust exception handling and ask each group to write one “take‑away tip” on a sticky note as an exit ticket. For homework, students will refactor a larger file‑processing program to incorporate the patterns learned today. |
|
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.