| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding of hashing algorithms | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick poll: who has ever used a password manager or looked up a file by name? Recall that arrays give direct access only when we know the exact index. Today we’ll explore how hashing turns keys into indices, enabling near‑instant retrieval, and we’ll learn how to judge if a hash design works. |
Lesson Structure:
|
|
|
Conclusion: Summarise that a good hash function spreads keys uniformly and that keeping the load factor below 0.75 maintains O(1) operations. For the exit ticket, each student writes one advantage and one drawback of the method they used on a sticky note. Homework: complete the online quiz on hashing and read the next chapter on tree‑based file organisation. |
|
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.