| Lesson Plan | |
| Grade: | Date: 18/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Show understanding that binary representations can give rise to rounding errors | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick demonstration of adding 0.1 ten times in Python and ask students what result they expect. Recall previous learning on binary numbers and integer representation. Explain that today they will explore how binary floating‑point representation can introduce subtle rounding errors, and by the end of the lesson they will be able to identify and mitigate these errors. |
Lesson Structure:
|
|
|
Conclusion: Summarise that floating‑point numbers consist of sign, exponent and fraction, and that binary cannot exactly represent many decimal fractions, leading to rounding errors that can accumulate. Remind students of the mitigation techniques discussed and collect the exit tickets. For homework, assign a worksheet converting several decimals to IEEE‑754 and identifying potential rounding issues. |
|
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.