| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Write code to perform file-processing operations | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick discussion on why programs need to store data beyond a single run, linking to students’ recent work with arrays. Recall the concept of streams introduced last week and set the success criteria: students will be able to read, write, and safely handle errors in both text and binary files. |
Lesson Structure:
|
|
|
Conclusion: Summarise the key steps of file processing and the importance of robust exception handling. Collect exit tickets and remind students to complete the homework worksheet that asks them to implement a file‑copy utility with proper error handling. |
|
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.