Skip to content
HeadTeacher.ng
Lesson Notes

Sequence in Programming, Importance, Creating Sprite Actions for Primary 4

Explore meaning and importance of sequence and creating a sprite action in Basic Digital Literacy for Primary 4.

Published Reading8 min Comments0

Note for teachers using this lesson plan

This lesson introduces pupils to the fundamental concept of sequence in programming, using a visual approach with sprite actions. Ensure you have a digital device with Scratch software (or a similar block-based programming tool) ready for demonstration and guided practice. Emphasise that the order of instructions is crucial for achieving the desired outcome, and by the end, pupils should be able to describe sequence, explain its importance, and arrange simple steps to make a sprite perform an action.

Class: Primary 4
Term: Third Term
Week: 6
Age: 9 years
Duration: 45 minutes
Subject: Basic Digital Literacy
Curriculum Theme: Basic Computer Programming
Focal competence: Using sequence in programming
Key competencies/values: Collaboration; Research and Problem Solving
Skills:

  • Applying sequence in programming
  • Creating a sprite in a game environment

Previous Lesson: Pen Blocks, Functions, Using Pen Extensions to Create 2D Images
Topic: Sequence In Programming
Subject Matter: Meaning and importance of sequence, creating a sprite action using ordered steps

Specific Objectives

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

Cognitive Domain

  • describe the meaning of sequence;
  • explain the importance of sequence;

Psychomotor Domain

  • create a sprite action using the steps in sequence.

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, Primary 4
  • The HeadTeacher Scheme of work

Instructional Materials

The teacher will teach this lesson with the aid of:

  • Charts
  • Posters
  • Digital Device (mobile phone) installed scratch software

Rationale for the Lesson

Understanding sequence is foundational to programming and problem-solving. This lesson helps pupils grasp how ordered steps lead to predictable outcomes, a skill applicable not only in digital literacy but also in everyday tasks. It provides a practical introduction to basic coding concepts, fostering logical thinking and creativity.

Prerequisite/Previous Knowledge

Pupils should have basic knowledge of using digital devices and understand simple instructions.

Lesson Content/Board Summary

Sequence In Programming

Meaning of Sequence in Programming

Sequence in programming refers to the order in which instructions or commands are given to a computer to perform a task. It means arranging steps in a specific, logical order so that the computer can follow them correctly.

  1. Instructions are executed one after another.
  2. The order of these instructions determines the final outcome.

Importance of Sequence in Programming

The correct sequence of instructions is very important for several reasons:

  1. Correct Output: Without the right order, the program will not work as intended or will produce errors.
  2. Logical Flow: It helps in creating a clear and logical path for the computer to follow from start to finish.
  3. Problem Solving: Understanding sequence helps in breaking down complex problems into smaller, manageable steps.
  4. Efficiency: A well-sequenced program can run more smoothly and efficiently.

Creating a Sprite Action Using Ordered Steps

A “sprite” is a character or object in a computer program, especially in games or animations. To make a sprite perform an action, we need to give it a series of commands in a specific sequence.

Steps to create a simple sprite action (e.g., moving a character):

  1. Choose a Sprite: Select the character or object you want to animate.
  2. Start Event: Decide when the action should begin (e.g., “when green flag clicked”).
  3. Movement Command: Add a command to make the sprite move (e.g., “move 10 steps”).
  4. Direction Command: If needed, add a command to change direction (e.g., “turn 15 degrees”).
  5. Appearance Command: Add commands to change how the sprite looks (e.g., “say Hello!” or “switch costume”).
  6. Timing Command: Add commands to control the speed or pause the action (e.g., “wait 1 second”).
  7. Arrange Blocks: Place these command blocks in the correct order to form the desired action.

If the blocks are not in the correct order, the sprite will not perform the action as expected.

Teaching Methods/Instructional Techniques

Discussion, Demonstration, Guided Practice, Question and Answer, Explanation, Observation, Practical Activity

Instructional Procedures

Step 1: Introduction

Time: 5 minutes

Teaching Skill: Explaining/Engaging

Teacher’s Activity: The teacher asks pupils about daily activities that require specific steps in order, like brushing teeth or getting dressed. The teacher then introduces the idea of giving instructions to a computer in a specific order.

Pupils’ Activity: Pupils share examples of activities that require ordered steps and listen attentively.

Learning Point: Importance of order

Step 2: Meaning of Sequence in Programming

Time: 7 minutes

Teaching Skill: Explanation/Definition

Teacher’s Activity: The teacher explains the meaning of sequence in programming, using simple language and examples. The teacher writes the definition on the board.

Pupils’ Activity: Pupils listen, ask questions, and repeat the definition of sequence.

Learning Point: Meaning of sequence

Step 3: Importance of Sequence

Time: 7 minutes

Teaching Skill: Discussion/Elaboration

Teacher’s Activity: The teacher discusses why sequence is important in programming, giving examples of what happens if steps are out of order (e.g., a robot trying to walk before standing up). The teacher highlights that correct order leads to correct results.

Pupils’ Activity: Pupils contribute to the discussion, provide their own examples, and understand the need for correct order.

Learning Point: Correct program execution

Step 4: Introducing Sprites and Actions

Time: 6 minutes

Teaching Skill: Visualisation/Introduction

Teacher’s Activity: The teacher introduces the concept of a “sprite” as a character in a game or animation. The teacher explains that we can make sprites do things by giving them commands.

Pupils’ Activity: Pupils listen and identify sprites from familiar games or cartoons.

Learning Point: Understanding sprites

Step 5: Demonstrating Sprite Action

Time: 7 minutes

Teaching Skill: Demonstration/Modelling

Teacher’s Activity: Using the digital device with Scratch software, the teacher demonstrates how to create a simple sprite action (e.g., move forward, say “hello”) by arranging command blocks in the correct sequence. The teacher also shows what happens if the blocks are in the wrong order.

Pupils’ Activity: Pupils observe the teacher’s demonstration carefully, noting the effect of changing block order.

Learning Point: Block order changes outcome

Step 6: Guided Practice – Creating Sprite Action

Time: 6 minutes

Teaching Skill: Guided Practice/Facilitation

Teacher’s Activity: The teacher gives pupils a simple task, like making a sprite move to a specific spot or change colour, and guides them to arrange the necessary blocks in sequence. The teacher provides support as pupils try to create the action.

Pupils’ Activity: Pupils work individually or in pairs to arrange blocks in sequence to make a sprite complete the given task.

Learning Point: Arranging code blocks

Step 7: Evaluation/Review

Time: 5 minutes

Teaching Skill: Questioning/Assessment

Teacher’s Activity: The teacher evaluates the learning by asking the following questions:

  1. What is sequence in programming?
  2. Give one reason why sequence is important.
  3. If you want your sprite to move forward and then turn, what order of commands would you use?

Pupils’ Activity: Pupils answer orally and in writing.

Learning Point: Sequence understanding checked

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 sequence, its importance, and creating sprite actions into their notebooks.

Pupils’ Activity: Pupils copy the notes carefully into their notebooks.

Learning Point: Recording lesson content

Step 9: Conclusion

Time: 3 minutes

Teaching Skill: Summarising/Reinforcement

Teacher’s Activity: The teacher summarises the key points of the lesson, reminding pupils that sequence is about putting steps in the right order for a computer to follow. The teacher encourages pupils to observe sequences in their daily lives.

Pupils’ Activity: Pupils listen and reflect on the main idea of the lesson.

Learning Point: Main lesson idea consolidated

Continuous Assessment/Further Study

Type: Homework

Instruction: Answer the following questions in your notebook:

  1. Define sequence in your own words.
  2. List two reasons why the order of instructions matters in programming.
  3. Imagine you want a sprite to jump up and then come down. Describe the sequence of steps you would give it.

Lesson Keywords

  • Sequence – The order in which instructions are given and executed.
  • Programming – The process of writing instructions for a computer.
  • Sprite – A character or object in a computer program or game.
  • Command – An instruction given to a computer.
  • Action – A movement or change performed by a sprite.

Differentiation

For weaker learners: Provide pre-arranged physical cards with commands that they can physically order to understand sequence before moving to the digital tool. Focus on very simple two-step sequences.
For faster learners: Challenge them to create a more complex sprite action with multiple steps and different types of commands (e.g., move, turn, change colour, say something) or to debug a sequence where the blocks are intentionally out of order.

Suggested Lesson Videos

Search on YouTube for: sequence in programming for kids primary 4

Teacher Guide for Using This Lesson Plan

Before the lesson, ensure the digital device (mobile phone, tablet, or computer) with Scratch Jr. or a similar block-based coding application is charged and ready. Prepare simple charts or posters illustrating sequences in daily life and basic programming blocks. Begin by connecting the concept of sequence to pupils’ everyday experiences to make it relatable. During the demonstration, clearly articulate each step and its purpose. Encourage pupils to actively participate in the guided practice, providing individual support as needed. Emphasise that mistakes are part of learning and encourage them to try different sequences. Pupils should copy the Board Summary notes after the main teaching and practice activities are completed, typically in Step 8. Check for understanding throughout the lesson by asking questions and observing their practical attempts. For safety, ensure pupils handle digital devices carefully and are supervised during practical activities.

Export this post
Sequence in Programming, Importance, Creating Sprite Actions for Primary 4
About the author

Royal Alikor

Royal Alikor is an educator with six years of classroom teaching and three years of elementary school leadership experience. He develops and reviews practical, curriculum-aligned learning materials for Nigerian schools.

Community Join the conversation Open discussion +