Who carries out an algorithm
About this lesson

Whoever carries out an algorithm, a person, an animal or a machine, is called the executor. A cook follows a recipe; a robot follows a program. Each executor has a list of commands it understands, called its command set. For example, Robot’s commands are “forward”, “turn left”, “turn right” and “pick up”. If Robot doesn’t know “dance”, it can’t do it. So an algorithm must use only the executor’s commands, in an exact order. The executor follows commands exactly as written, so a wrong command gives a wrong result.
What the book shows
In computer science the child first learns to think through unplugged games: recognising information, ordering steps and learning safety rules.
Textbook link:
This is not the textbook’s text but a short description of the topic. Check the exact page in your own textbook.
The lesson step by step
- 1
Warm-up5 min
Robot game.
- 2
New topic10 min
Who is the executor?
- 3
Practice10 min
Command set.
- 4
Game10 min
Grid route.
- 5
Wrap-up5 min
My own executor.
Let’s understand
For the student Simple language

| Executor | Command set |
|---|---|
| 🤖 Robot | forward, turn left, turn right, pick up |
| 🐢 Turtle (draws) | forward N steps, turn, pen up, pen down |
| 🧺 washing machine | fill, wash, rinse, spin |
For the parent
How to help
- Play “robot”: your child gives commands and you only obey “forward, left, right”.
- Follow a recipe together.
For the teacher
Lesson goals
- Know what an executor and its command set are, and write algorithms using only the commands it understands.
How to teach it
- Unplugged games, cards, role play, discussion
Differentiation
- Weaker pupils: 2–3 steps; stronger pupils build their own algorithm
Questions for the class
- Why does an executor follow an algorithm exactly?
How to check
The pupil explains executors and command sets and writes a correct algorithm.
Scientific Scientific language
Famous executors
The Turtle draws by leaving a trail on screen; children’s coding tools have many such executors.
People are executors too
A PE teacher gives commands and the class carries them out.
Self-study
Step by step
- Who is the executor?
- Which commands does it know?
- Did I use only its commands?
- Is the order right?
Going deeper
Scientific language: for older students, parents and teachers.
The same task can be solved by different algorithms; finding the shortest one is a favourite job for programmers.
Play and check
Does Robot know this command?
How to write it down
- Draw a 5×5 grid with Robot and a target.
- Write Robot’s route using its commands.
How the classwork looks in the notebook
Sample: the date and heading follow this country’s notebook rules.
Watch out: common mistakes
Where it helps in life
- Branching in algorithms
- Coding environments
At home
Core
- Write a 5-command algorithm for a family member to walk from one place at home to another.
Extra ⭐
- Invent your own executor and its 4 commands.
How to do it
- Do the task with a grown-up.
- Explain in words what you noticed.
Answers for parents
For example: “forward 3, turn left, forward 2, turn right, forward 1”. Executor example: Gardener-bot with “dig”, “plant seed”, “water”, “forward”.
Step-by-step homework solution — Show the solution (try it yourself first)
Think
- Robot faces up and the target is 2 squares to the right: “turn right, forward, forward”.
How the homework looks in the notebook
Sample: the date and heading follow this country’s notebook rules.