| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding of why user-defined types are necessary | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Ask students how they would store a student’s details using only primitive variables. Recall previous lessons on primitive types and variable declarations. Explain that by the end of the lesson they will be able to justify the need for a new type and write a simple struct or class to model the data. |
Lesson Structure:
|
|
|
Conclusion: Summarise that user‑defined types bridge low‑level data and domain concepts, enhancing readability and safety. Collect the exit tickets to confirm each student can articulate a benefit. For homework, assign students to implement a simple struct or class for a real‑world object of their choice and document its fields. |
|
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.