Lesson Plan

Lesson Plan
Grade: Date: 17/01/2026
Subject: Information Technology IT
Lesson Topic: Understand JavaScript statements (variables, operators, functions)
Learning Objective/s:
  • Describe the purpose and syntax of JavaScript statements, including variable declarations, operators, and functions.
  • Explain the differences between var, let, and const and choose appropriate declarations.
  • Apply arithmetic, assignment, comparison, logical, and string operators in code examples.
  • Construct and invoke functions using traditional and arrow syntax, and predict their return values.
Materials Needed:
  • Projector and screen
  • Whiteboard and markers
  • Student laptops with a JavaScript IDE (e.g., VS Code or online REPL)
  • Printed handout of the JavaScript operator table
  • Sample code snippets (variables, operators, functions)
  • Worksheet with practice tasks and exit‑ticket prompt
Introduction:

Begin with a quick demo of a simple web app that updates a score counter, highlighting how statements drive the behaviour. Ask students what they already know about declaring data and performing calculations in JavaScript. Explain that by the end of the lesson they will be able to write correct statements, use the full range of operators, and create reusable functions.

Lesson Structure:
  1. Do‑now (5'): Mini‑quiz on var, let, const differences.
  2. Mini‑lecture (10'): Overview of JavaScript statements, semicolons, and block syntax.
  3. Guided coding (15'): Students write variable declarations and experiment with each operator category using the handout.
  4. Function demonstration (10'): Show a traditional function and an arrow function; discuss hoisting.
  5. Pair activity (15'): Modify a provided script to calculate circle area and log the result, integrating variables, operators, and a function.
  6. Check for understanding (5'): Exit‑ticket – “Write one line of code that uses a ternary operator to display ‘Pass’ or ‘Fail’ based on a score variable.”
Conclusion:

Recap the three statement types and how they work together in a script. Collect the exit‑ticket responses to gauge mastery, and remind students that the next lesson will build on these concepts with event‑driven programming. For homework, ask them to create a small program that declares variables, performs at least three different operators, and defines a function that returns a computed value.