Programming Basics - SSS 2 plan
LESSON PLAN: PROGRAMMING BASICS
| Subject | Digital Technologies |
| Class | SSS 2 |
| Term | Second Term |
| Week | 3 |
| Topic | Programming Basics |
| Duration | 80 Minutes (Double Period) |
| Date | __________________ |
Behavioural Objectives
By the end of the lesson, students should be able to:
- Declare and use variables in simple programs.
- Identify common data types used in programming.
- Apply arithmetic, comparison and logical operators in simple programs.
- 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
- What is a variable? State two uses of variables.
- List four common Python data types.
- Mention four arithmetic operators.
- Differentiate between assignment and comparison operators.
- What are logical operators? Give three examples.
- Explain the difference between an expression and a statement.
Assignment
Write a simple Python program that:
- Stores your name in a variable.
- Stores two numbers in separate variables.
- Calculates and displays their sum.
- Uses a comparison operator to determine whether the first number is greater than the second.
- Uses a logical operator in a simple condition.
Reference
SSS 2 Second Term Digital Technologies lesson note: Programming Basics — Week 3.
Comments
Post a Comment