Note for teachers using this lesson plan
This lesson introduces Primary 4 pupils to the foundational concept of programming as giving computers clear, ordered instructions. Ensure you have a digital device (like a mobile phone or tablet) ready to demonstrate a visual programming tool. Emphasize the importance of logical thinking and step-by-step instructions. By the end of the lesson, pupils should be able to explain what programming is, identify its uses, list some tools, and understand the basic steps involved.
Class: Primary 4
Term: Second Term
Week: 10
Age: 9 years
Duration: 45 minutes
Subject: Basic Digital Literacy
Curriculum Theme: Basic Computer Programming
Focal competence: Demonstrating foundational knowledge of programming
Key competencies/values: Collaboration
Skills:
- Creating basic program
Previous Lesson: Inclusivity in Digital Content, Examples, Importance and Basic Inclusive Features
Topic: Basics Of Programming
Subject Matter: Meaning and uses of programming, programming tools and steps
Specific Objectives
By the end of the lesson, pupils should be able to:
Cognitive Domain
- Explain the meaning of programming.
- Mention the uses of programming.
- List programming tools.
- Explain the steps for programming.
Affective Domain
- Appreciate the importance of giving clear instructions to computers.
Psychomotor Domain
- Arrange simple instruction cards in a logical order.
Reference Materials
The following resources were used in planning this lesson:
- 2025 Revised 9 Years Basic Education Curriculum
- Relevant State Unified Scheme of Work
- Basic Digital Literacy for Primary Schools, Book 4
- The HeadTeacher Scheme of work
Instructional Materials
The teacher will teach this lesson with the aid of:
- Digital Device (mobile phone or tablet)
- Internet connection
- Whiteboard and markers
- Flashcards with simple, ordered instructions (e.g., “Stand up,” “Turn around,” “Sit down”)
- Pictures or screenshots of visual programming tools (e.g., Scratch Jr., Blockly)
Rationale for the Lesson
This lesson introduces pupils to the fundamental concept of programming, which is essential for understanding how digital devices work. It helps them develop logical thinking and problem-solving skills by breaking down tasks into step-by-step instructions. Understanding programming basics prepares pupils for future digital literacy challenges and encourages computational thinking.
Prerequisite/Previous Knowledge
Pupils should have basic knowledge of how to use simple digital devices and follow instructions.
Lesson Content/Board Summary
Basics Of Programming
Meaning of Programming
Programming is the process of giving a computer a set of clear, step-by-step instructions to follow to perform a specific task. These instructions are called ‘code’.
Uses of Programming
Programming is used to create many things we use every day. Some uses include:
- Creating Games: Programmers write code to make video games work, from simple mobile games to complex console games.
- Building Mobile Apps: Applications on smartphones and tablets, like WhatsApp, YouTube, or educational apps, are created using programming.
- Designing Websites: Websites like Google, Facebook, or school websites are built with programming languages.
- Controlling Robots: Robots are programmed to perform tasks, from manufacturing in factories to exploring space.
- Operating Smart Devices: Smart TVs, smartwatches, and other smart home devices rely on programming to function.
Programming Tools
Programming tools are software or applications that help programmers write, test, and run their code. For beginners, visual programming tools are often used. Some examples include:
- Visual Programming Tools: These tools use colourful blocks or graphical elements that pupils can drag and drop to create instructions, rather than typing complex code. Examples are Scratch Jr. and Blockly.
- Text Editors: These are simple programs used to write code using text. They are often used for more advanced programming.
Steps for Programming
Programming usually follows a logical sequence of steps:
- Understand the Problem: Clearly identify what task the computer needs to do.
- Plan the Steps (Algorithm): Break down the task into small, ordered, and logical instructions. This plan is called an algorithm.
- Write the Instructions (Code): Translate the planned steps into a language the computer can understand, using a programming tool.
- Test and Fix Errors (Debug): Run the program to see if it works correctly. If there are mistakes (bugs), find and fix them.
Teaching Methods/Instructional Techniques
Discussion, Demonstration, Guided Practice, Question and Answer, Explanation, Practical Activity.
Instructional Procedures
Step 1: Introduction
Time: 5 minutes
Teaching Skill: Engaging learners
Teacher’s Activity: The teacher asks pupils what they think a computer does when they press a button or click an icon. The teacher then explains that computers follow instructions.
Pupils’ Activity: Pupils share their ideas about how computers work and listen to the teacher’s explanation.
Learning Point: Computers follow instructions
Step 2: Meaning of Programming
Time: 8 minutes
Teaching Skill: Explanation/Illustration
Teacher’s Activity: The teacher explains programming as giving clear, step-by-step instructions to a computer to do a task. The teacher gives simple real-life examples, like following a recipe or giving directions.
Pupils’ Activity: Pupils listen attentively and ask questions for clarity.
Learning Point: Programming definition
Step 3: Uses of Programming
Time: 7 minutes
Teaching Skill: Discussion/Brainstorming
Teacher’s Activity: The teacher discusses various uses of programming, showing pictures or examples of games, mobile apps, and websites. The teacher encourages pupils to mention things they use that might be programmed.
Pupils’ Activity: Pupils contribute examples of programmed items they use and listen to the teacher’s explanations.
Learning Point: Programming applications
Step 4: Programming Tools
Time: 7 minutes
Teaching Skill: Demonstration/Visual Aid
Teacher’s Activity: The teacher introduces programming tools, focusing on visual programming tools. Using a digital device, the teacher briefly demonstrates a simple visual programming interface (e.g., Scratch Jr. or Blockly) to show how blocks are dragged and connected.
Pupils’ Activity: Pupils observe the demonstration and identify the visual programming tool shown.
Learning Point: Types of programming tools
Step 5: Steps for Programming
Time: 6 minutes
Teaching Skill: Explanation/Sequencing
Teacher’s Activity: The teacher explains the basic steps for programming: understanding the problem, planning the steps (algorithm), writing the instructions (code), and testing/fixing errors (debugging). The teacher uses a simple task, like “making a robot walk to the door,” to illustrate these steps.
Pupils’ Activity: Pupils listen and try to follow the logical sequence of steps for the example task.
Learning Point: Programming process
Step 6: Guided Practice
Time: 5 minutes
Teaching Skill: Practical Activity/Guidance
Teacher’s Activity: The teacher distributes simple instruction cards (e.g., “Take one step,” “Turn left,” “Clap hands”) and asks pupils to arrange them in a logical order to achieve a simple goal, like “walk to the board and pick up a marker.”
Pupils’ Activity: Pupils work in pairs or small groups to arrange the instruction cards in a logical sequence.
Learning Point: Arranging instructions logically
Step 7: Evaluation/Review
Time: 5 minutes
Teaching Skill: Questioning/Assessment
Teacher’s Activity: The teacher evaluates the learning by asking the following questions:
- What is programming?
- Mention two uses of programming.
- Name one programming tool you learned today.
- What is the first step in programming?
Pupils’ Activity: Pupils answer orally and in writing.
Learning Point: Lesson understanding
Step 8: Note-Taking
Time: 4 minutes
Teaching Skill: Guided Writing
Teacher’s Activity: The teacher guides pupils to copy the essential Board Summary notes on the meaning, uses, tools, and steps of programming into their notebooks.
Pupils’ Activity: Pupils copy the notes carefully into their notebooks.
Learning Point: Copying programming notes
Step 9: Conclusion
Time: 3 minutes
Teaching Skill: Reinforcement
Teacher’s Activity: The teacher briefly reminds pupils that programming is about giving clear instructions to computers, just like they give instructions to each other. The teacher encourages them to think logically in their daily activities.
Pupils’ Activity: Pupils listen and reflect on the importance of clear instructions.
Learning Point: Programming importance
Continuous Assessment/Further Study
Type: Homework
Instruction: Answer the following questions in your notebook:
- Explain programming in your own words.
- List three things you use daily that you think are programmed.
- Draw a simple picture of a visual programming tool.
- Imagine you want to program a robot to brush your teeth. List the steps the robot would need to follow.
Lesson Keywords
- Programming – Giving computers step-by-step instructions.
- Instructions – Commands given to a computer.
- Code – The set of instructions written for a computer.
- Tools – Software or applications used to write programs.
- Algorithm – A step-by-step plan to solve a problem.
- Debugging – Finding and fixing errors in a program.
Differentiation
For pupils who grasp the concept quickly, encourage them to think of more complex tasks that could be programmed or to research different types of programming tools. For pupils who need more support, provide simpler instruction cards for the guided practice and offer one-on-one assistance in explaining the meaning and uses of programming with more familiar examples.
Suggested Lesson Videos
Search YouTube for: what is programming for kids primary 4
Teacher Guide for Using This Lesson Plan
Before the lesson, ensure your digital device is charged and has an internet connection to demonstrate a visual programming tool. Prepare simple flashcards with clear, sequential instructions for the guided practice activity. Begin by relating programming to everyday tasks that involve following steps. When explaining programming tools, focus on the visual aspect for Primary 4 pupils. During the guided practice, circulate to assist pupils in arranging their instruction cards logically, correcting any misconceptions about sequencing. Pupils should copy the Board Summary notes after the evaluation. Emphasize that logical thinking is key to programming and can be applied in many areas of life.





Community Join the conversation Open discussion +