| Lesson Plan | |
| Grade: | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Describe the different stages of the assembly process for a two-pass assembler | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with the question, “How does a computer know where each label in an assembly program should point?” Review students’ prior experience with compilers and address resolution. Explain that today they will discover why assemblers use two passes and what each pass must accomplish to produce correct machine code. |
Lesson Structure:
|
|
|
Conclusion: Recap that the first pass builds a symbol table while the second pass generates machine code using that table, resolving forward references and relocation. Students submit an exit ticket describing the two passes in their own words. For homework, they will assemble a provided program using an online assembler and note any errors encountered. |
|
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.