💻 TechnologyGrade 3Lesson 29
← Back🔒 PDF with full access

Coding Sequences: Instructions in Order

Lesson preview: the Mini Lesson and Vocabulary are open to everyone. Guided practice, exercises, the parent checklist and the printable PDF worksheet come with full access (free 7-day trial or membership).

Learning Objectives

  • 1Define what a sequence is in coding and explain why order matters
  • 2Identify the correct order of steps to complete a simple Scratch task
  • 3Arrange code-block cards in the right sequence to solve a programming problem
📘

Mini Lesson

A sequence is a set of instructions carried out one after another in a specific order. In coding, the computer follows each step exactly as it is written — it never skips ahead or goes back unless you tell it to. Getting the order right is one of the most important skills in programming.

Why Order Matters

Imagine making a sandwich: you have to get the bread BEFORE you add the filling. If you put the filling down first with no bread underneath, the sandwich does not work. Code is exactly the same — each block must come in the right place for the program to do what you want.

  • Computers execute blocks from top to bottom, one at a time.
  • A wrong order can make the sprite do something unexpected — or do nothing at all.
  • Reading your sequence aloud like a recipe helps you spot missing or misplaced steps.
  • Debugging is the process of finding and fixing steps that are in the wrong order.

A Coding Sequence in Five Steps

  1. Define the problem — decide exactly what you want the program to do.
  2. Plan the steps — write or draw the actions in the order they need to happen.
  3. Write the code — drag the Scratch blocks into the correct sequence.
  4. Test the program — click the green flag and watch what happens.
  5. Debug if needed — find any block that is in the wrong place and fix it.
5-Step Coding SequenceFive numbered steps of a coding sequence shown as stacked blocks.5-Step Coding Sequence1Define the problem2Plan the steps3Write the code4Test the program5Debug if needed
Sequence vs Wrong OrderTwo columns comparing correct sequence with an out-of-order sequence.Correct Order vs Wrong OrderCorrect Sequencewhen flag clickedmove 10 stepssay "Hello!" 2sWorks perfectly!Wrong Ordersay "Hello!" 2swhen flag clickedmove 10 stepsBug! Fix the order.
💡

Use comments in Scratch (right-click a block area) to add notes to yourself about what each section of your sequence is supposed to do.

Vocabulary
Sequence
A list of steps that run in order, one after the othere.g. My sequence makes the cat jump and then bow.
Instruction
One single command in a programe.g. A "say hello" block is one instruction.
Order
The position of each step from first to laste.g. In coding, order changes the result.
Run
To make the computer carry out the programe.g. I run my code by clicking the green flag.
Debug
To find and fix a mistake in your codee.g. I had to debug a wrong block.
Free · 7 days · No credit card

Unlock the full HSEA system for 7 days.

Add your first kid profile and your 7 days start: every lesson in every grade, saved progress for each child. Nothing to set up, no card required, nothing to cancel.

  • ✓ All 1,680 lessons, Grades 1–6, every subject
  • ✓ Profiles + saved progress for every kid
  • ✓ Printable lessons with answer key
Start your 7-day free trial →
← Lesson 28: Introduction to Block Coding with ScratchLesson 30: Coding Loops: Repeating Actions in Scratch →