Mini Minds Hub · Free printable

Robot Sandwich Algorithm: Free Printable Worksheet for Year 2

  • ForYear 2
  • StageKey Stage 2
  • CostFree
  • FormatPrintable PDF

Robot Sandwich Algorithm is a free printable computing worksheet for Year 2 (ages 6 to 7). Children write exact steps for making a sandwich, then test them on a robot grown up who follows every word literally. When the robot gets it wrong, children find the bug and fix it. It needs only paper and a pencil, and page 2 gives the grown up notes, help, a stretch idea and answers.

It comes from the Mini Minds Hub, the free library of printables from Jaques of London, the British games and toy company that has been making games for families since 1795. Print both pages, give page 1 to your child and keep page 2 for yourself. Black and white printing works well.

What is on the sheet

Children use a checklist, a table and lines for writing. They write their own steps for making a sandwich, using exact robot words that say what to pick up and where to put it. A grown up then acts as the robot and follows the words literally. Children tick the table to show whether each job worked, look for bugs and fix them. The checklist reminds them to keep steps in order and be exact.

  • Job
  • Exact robot words
  • Worked?
  • I put my steps in the right order
  • I said exactly what to pick up and where to put it
  • The robot did only what I said
  • I found a bug and fixed it

Vague steps and exact steps

Write steps so a robot can put a sock on a foot.

This is a different task from the one on the sheet. It shows why exact words matter.

Vague steps
  1. Put the sock on.
  2. The robot has to guess. It might put the sock on its hand, or over its shoe.
  3. This is a bug. The steps are not clear enough.
Exact steps
  1. Pick up the sock with your right hand.
  2. Hold the open end wide with both hands.
  3. Push your toes into the open end.
  4. Pull the sock up over your heel until it covers your ankle.
The robot can only do what the words say, so exact steps give the right result.

How the activity builds understanding

Write

Children choose their words carefully and put the steps in a sensible order.

Test

A grown up acts as the robot and does exactly what is written, nothing more.

Spot the bug

When the robot goes wrong, children look at the words to see which step was unclear.

Fix and retest

Children rewrite the step and try again. Mistakes become part of the plan.

What is an algorithm?

An algorithm is a set of steps that tells someone or something how to do a job. The steps must be in the right order and be clear. A recipe, a set of directions to a friend's house and the rules of a board game are all everyday algorithms.

Computers cannot guess what we mean. They follow instructions exactly as written. That is why a robot grown up is such a useful way to learn. When children see a step go wrong, they learn that clear, precise words matter, and that fixing a bug is a normal part of the job.

A grown up plays the robot and does all the handling of the butter knife. Children should not use it. Check for food allergies before anyone eats the sandwich, and wash hands first.

Fun facts about algorithms

  • An algorithm is a list of steps that solves a problem or does a job.
  • Computers follow instructions exactly. They cannot guess what you meant.
  • A bug is a mistake in a set of instructions.
  • Finding and fixing bugs is called debugging.
  • A recipe is an algorithm that people follow.

Skills and curriculum link

  • Putting steps in order
  • Giving exact instructions
  • Finding bugs
  • Fixing bugs
  • Clear writing
  • Logical thinking

Ideas to help children write better steps

  • Name the objectSay exactly which item to pick up. A robot does not know what you mean by it.
  • Say whereTell the robot where to put each item. Words such as on, next to and inside help.
  • One job per stepKeep each step short and about one action. Short steps are easier to test and fix.
  • Test, then changeRun the steps, watch what happens and change only the step that went wrong.

Key words

  • AlgorithmA set of steps in the right order that tells someone how to do a job.
  • InstructionOne clear step that says what to do.
  • OrderThe way steps are arranged, first to last. Order matters.
  • BugA mistake in a set of instructions.
  • DebugFind a bug and fix it.
  • ExactClear and precise, with nothing left to guess.

How to use it

  1. Print both pages. Page 1 is for your child. Keep page 2 for yourself.
  2. Read the checklist together. Talk about what a robot can and cannot guess.
  3. Your child writes their steps. You act as the robot and follow each written step literally, using safe items such as bread and a butter knife. You handle the knife.
  4. Let your child watch for bugs, tick the table and rewrite any step that went wrong.
  5. Check against the notes and answers on page 2. Come back another day, because repeating a familiar activity builds confidence.

Help, stretch and game ideas

If it feels too hard

Say the steps aloud first, then draw a picture for each job before writing the words. Ask the robot grown up to point at the picture they are following. Tackle one job at a time and test it before moving on to the next.

To stretch confident children

Swap sheets with a friend or family member. Can they make the sandwich using only your words? Then ask them to find one step that could mean two things and rewrite it so it can only mean one.

Make it a game

Let the robot do silly things, such as spreading butter on the plate, whenever a step is unclear. Everyone laughs, then you fix the step together. Score a point for every bug you find and mend.

Mistakes to watch for

Watch forA child writes a step such as "put it on" without saying what or where, so the robot is stuck or does something silly.

Try thisAsk, "Which thing? Where does it go?" Rewrite the step using the name of the item and the place.

Watch forA child leaves a step out because it feels obvious, and the robot cannot carry on.

Try thisWatch the robot stop, then ask, "What did the robot need to know?" Add the missing step in the right place.

Watch forA child feels cross or embarrassed when the robot gets it wrong.

Try thisRemind them that finding a bug is the point. Say, "Good, you found one. Now let's fix it."

Talk about it

  • What does the robot know, and what does it not know?
  • Which of your steps was easiest for the robot to follow? Why?
  • Where did the robot go wrong? How did you know?
  • How did you fix the bug?
  • Can you think of another job that needs steps in a certain order?
  • What would happen if two steps swapped places?

Take it off the page

Robot drawing

Take turns to give exact steps for drawing a simple picture. The other person follows only the words, then you compare.

Morning routine

Write the steps for getting ready for school. Read them aloud and see if a robot could follow them without guessing.

Move the toy

Set up a start and an end on the floor. Give a toy robot, played by a grown up, exact steps to reach the end.

Who it is for

Parents

Sit beside your child for the first go and let them lead. Play the robot fairly: do exactly what is written, and stay calm and cheerful when things go wrong. Praise the bug hunting as much as the finished steps.

Teachers

Use it as a starter before a lesson on algorithms, a plenary, or a table activity. It needs no preparation beyond printing, and page 2 gives support and stretch ideas for mixed ability groups. Pairs can take turns as writer and robot.

Home educators

Print this as part of a wider computing plan. It pairs well with recipes, treasure hunts and board games, which all depend on clear steps. Brothers and sisters can take turns as the robot.

Where this fits in computing

Before this sheet, children meet steps in everyday routines, such as getting dressed or following a simple recipe. They practise listening to instructions and doing things in order.

After it, children can move on to programmable toys and simple on screen block programs. They also begin to make longer sequences and to predict what a program will do. The same habits apply: clear steps, careful testing and fixing bugs.

Questions parents and teachers ask

What age is Robot Sandwich Algorithm for?

It is written for Year 2 (ages 6 to 7), in Key Stage 1. Some younger children may enjoy it with help, and older children can use the stretch idea to make their instructions more precise.

What will children practise?

They practise writing, testing and fixing exact step by step instructions. That includes putting steps in order, saying exactly what to pick up and where to put it, and finding and fixing bugs.

Do children use the knife themselves?

No. A grown up acts as the robot and handles the butter knife and the food. Children write the steps and watch what happens. Check for allergies before anyone eats the sandwich.

What if it feels too hard?

Say the steps aloud first and draw a picture for each job before writing the words. Test one job at a time. Short, successful tries build confidence faster than a long first go.

Is it free?

Yes. It is free to print for home and classroom use. You can print it again for brothers, sisters or revision, and black and white printing works well on plain A4 paper.

Is it suitable for teachers to use in class?

Yes. Teachers can use it as a starter, plenary, early finisher task, homework or table activity. It needs no preparation beyond printing, and it supports the Key Stage 1 computing idea that algorithms need precise instructions.

Is this a screen free activity?

Yes. It needs only paper and a pencil, plus safe items for the grown up robot. It works for quiet time, rainy days and school holidays, and still teaches real computing ideas.

Preview the full PDF

Made by Jaques of London, making games for families since 1795. A printable supports classroom learning and does not replace a teacher.