Lesson Plan

Lesson Plan
Grade: Date: 18/01/2026
Subject: Computer Science
Lesson Topic: Understand and use sequence, selection, and iteration
Learning Objective/s:
  • Describe the purpose and flow of sequence, selection, and iteration structures.
  • Write correct pseudo‑code using if, if‑else, nested selection, while, for, and repeat‑until loops.
  • Analyse given algorithms to identify and correct common control‑structure errors.
  • Apply appropriate control structures to solve programming problems.
Materials Needed:
  • Projector or interactive whiteboard
  • Printed handouts of control‑structure summary table
  • Pseudo‑code worksheets with practice questions
  • Laptop computers with IDE or online coding environment
  • Markers and whiteboard
Introduction:
Begin with a quick think‑pair‑share: What does a computer do when it follows step‑by‑step instructions? Review that sequence is the default flow and ask students to recall examples of decisions and loops they have seen. Explain that today they will master the three core control structures and will be able to recognise and apply them in algorithms. Success will be measured by correctly completing the practice worksheet and explaining their choices.
Lesson Structure:
  1. Do‑now (5') – Students list everyday activities that follow a fixed order, a decision, or repetition on the board.
  2. Mini‑lecture (15') – Overview of sequence, selection (if, if‑else, nested, multiple) and iteration (while, for, repeat‑until) with pseudo‑code examples shown on the projector.
  3. Guided practice (10') – Teacher models the even/odd algorithm, highlighting each control structure and common pitfalls.
  4. Pair activity (15') – Students complete a worksheet: write pseudo‑code for given problems (while countdown, for multiples, repeat‑until password) and peer‑review each other’s code.
  5. Whole‑class feedback (10') – Review answers, correct errors, discuss why certain loops are more suitable.
  6. Exit ticket (5') – Students write one concise rule for choosing the correct control structure in a new scenario.
Conclusion:
Summarise that sequence orders actions, selection chooses paths, and iteration repeats blocks, emphasizing the importance of proper loop control to avoid infinite loops. For the exit ticket, students state which structure they would use for a given problem, demonstrating understanding. Assign homework: create pseudo‑code for a simple game that uses all three structures.