| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Define and use a function | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick discussion of how everyday apps (maps, calculators) rely on reusable blocks of code. Review students’ prior knowledge of variables and simple statements, then pose the success criteria: by the end of the lesson they will be able to write, call, and debug a function in Python. |
Lesson Structure:
|
|
|
Conclusion: Recap the four key steps of defining and using a function and highlight how proper scope and return statements improve code reliability. Collect exit tickets as a quick retrieval check, and assign homework: students must write a function that converts Fahrenheit to Celsius and include at least one test case. |
|
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.