| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Understand the purpose of storing data in a file | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin by asking students how they would keep a game score after the program ends. Review prior knowledge of variables and RAM as temporary storage. Explain that today’s success criteria are to articulate why files are used and to write basic file‑I/O pseudocode. |
Lesson Structure:
|
|
|
Conclusion: Recap the reasons for using files, the basic file‑I/O steps, and security considerations. Collect exit tickets and assign homework: modify the pseudocode to read the saved scores and display them on screen. |
|
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.