Programming Basics - SSS 2 plan

LESSON PLAN: PROGRAMMING BASICS

SubjectDigital Technologies
ClassSSS 2
TermSecond Term
Week3
TopicProgramming Basics
Duration80 Minutes (Double Period)
Date__________________

Behavioural Objectives

By the end of the lesson, students should be able to:

  1. Declare and use variables in simple programs.
  2. Identify common data types used in programming.
  3. Apply arithmetic, comparison and logical operators in simple programs.
  4. Explain and write simple expressions and statements.

Instructional Materials

  • Computer system or laptop.
  • Projector or display screen, where available.
  • Python interpreter or online Python editor.
  • Whiteboard and markers.
  • Prepared examples of Python programs.
  • SSS 2 Programming Basics lesson note.

Previous Knowledge

Students have been introduced to Python and JavaScript, programming environments, code editors and simple programs.

Teaching Methods

Explanation, discussion, demonstration, questioning and guided practical exercises.

Lesson Presentation

Stage / Time Teacher’s Activities Students’ Activities
Introduction — 5 minutes Revises simple Python programs and asks students how a program can store a student's name and score. Answer questions and recall previous programming lessons.
Step 1: Variables — 10 minutes Explains variables and their uses. Demonstrates assignments such as age = 16 and name = "Ada". Define variables, identify variable names and values, and write simple assignments.
Step 2: Data Types — 10 minutes Explains integer, float, string and Boolean data types with Python examples. Identify the data types represented by given values.
Step 3: Operators — 15 minutes Explains arithmetic operators, comparison operators and logical operators. Demonstrates simple calculations and comparisons. Identify operators, calculate simple expressions and predict comparison results.
Step 4: Expressions and Statements — 15 minutes Explains expressions and statements. Demonstrates how variables and operators can be combined to calculate and display results. Distinguish expressions from statements and write simple Python instructions.
Step 5: Practical Exercise — 15 minutes Guides students to write a program that stores two numbers, calculates their sum and compares their values. Write and run the program, observe its output and correct errors where necessary.
Evaluation — 5 minutes Asks questions about variables, data types, operators, expressions and statements. Answer the questions and demonstrate understanding.
Conclusion and Assignment — 5 minutes Summarises the lesson and gives the assignment. Summarise the key concepts and record the assignment.
Total: 80 minutes Lesson review and practical participation.

Evaluation Questions

  1. What is a variable? State two uses of variables.
  2. List four common Python data types.
  3. Mention four arithmetic operators.
  4. Differentiate between assignment and comparison operators.
  5. What are logical operators? Give three examples.
  6. Explain the difference between an expression and a statement.

Assignment

Write a simple Python program that:

  1. Stores your name in a variable.
  2. Stores two numbers in separate variables.
  3. Calculates and displays their sum.
  4. Uses a comparison operator to determine whether the first number is greater than the second.
  5. Uses a logical operator in a simple condition.

Reference

SSS 2 Second Term Digital Technologies lesson note: Programming Basics — Week 3.

Comments

Popular posts from this blog

Complete Computer Studies/ICT Curriculum for JSS 1 to SSS 3

90 Objective Examination Questions in Major Subjects

Number Base System