| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding of methods of file access | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick question: “How do you think a computer finds a specific record in a huge file?” Connect this to students’ prior experience with searching lists in code. Explain that today they will explore three systematic ways files are accessed and identify when each is most efficient. |
Lesson Structure:
|
|
|
Conclusion: Recap the key differences between sequential, direct, and indexed access, emphasizing their ideal use‑cases. Collect exit tickets to gauge understanding and assign a homework task: students must write a short program that implements direct access for a fixed‑length record file. |
|
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.