Lesson Plan

Lesson Plan
Grade: Date: 17/01/2026
Subject: Computer Science
Lesson Topic: Write pseudocode that contains input, process and output
Learning Objective/s:
  • Describe the three fundamental stages of an algorithm – input, process, and output.
  • Apply standard pseudocode conventions (capitalised keywords, indentation, comments) when drafting algorithms.
  • Construct correct pseudocode for given problem scenarios, ensuring each stage is clearly represented.
  • Evaluate peer‑written pseudocode for completeness and logical accuracy.
Materials Needed:
  • Projector and screen for displaying examples.
  • Printed handouts containing pseudocode conventions and sample algorithms.
  • Laptops or computers with a simple IDE/text editor.
  • Worksheet with the payroll calculator task.
  • Whiteboard and markers.
Introduction:

Begin with a quick discussion of everyday algorithms (e.g., a coffee‑making routine) to highlight why clear steps matter. Review students’ prior knowledge of variables and basic programming constructs, then explain that today they will master the three‑stage structure of input‑process‑output in pseudocode. Success will be measured by their ability to write a complete algorithm that includes all three stages.

Lesson Structure:
  1. Do‑Now (5'): Mini‑quiz on identifying input, process, and output in short code snippets.
  2. Mini‑lecture (10'): Explain pseudocode conventions and the purpose of separating the three stages.
  3. Guided practice (10'): Walk through the Celsius‑to‑Fahrenheit example, modelling each stage.
  4. Pair activity (15'): Students write the “Maximum of three numbers” algorithm together, then swap for peer review.
  5. Whole‑class review (10'): Discuss common pitfalls and correct any misconceptions.
  6. Independent task (15'): Students create a payroll calculator algorithm, applying conditional logic for tax deduction.
  7. Exit ticket (5'): Write one sentence summarising why the input‑process‑output structure is useful.
Conclusion:

Recap the three‑stage framework and how it improves readability and translation to real code. Collect exit tickets to gauge understanding, and assign a homework task to convert the payroll pseudocode into a simple program in any language of their choice.