Mini Minds Hub · Free printable

Lumi's Mystery Shape Code: Free Printable Worksheet for Year 2

In short: Free printable Lumi's Mystery Shape Code for Year 2 (ages 6 to 7). Guess the shape, then check it. Screen-free, with answers and notes for grown-ups.

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

Lumi's Mystery Shape Code is a screen free computing worksheet for Year 2 (ages 6 to 7). Children read a short code made of letters, guess which shape it will draw, then draw it on dots to check. They also practise spotting and explaining a mistake in code. Page 2 gives the grown-up notes, help, a stretch idea and the answers.

Before your child starts, model the first code yourself. Walk a finger along the dots and say each letter as an action aloud. The usual slip is to treat a turn as a step, so show that a turn changes direction but does not move you anywhere. Ask your child to guess before they draw.

What is on the sheet

Children meet short codes made from the letters F, R and L. Each code is a list of instructions for drawing on dots. For items 1 to 4, children first guess whether the code makes a line, a square, a rectangle or a staircase. Then they draw it to check. Items 5 to 7 are done by thinking and writing, with no drawing. Children also spot and explain mistakes in code.

  • 1. F F F F (line, square, rectangle or staircase?)
  • 2. F F R F F R F F R F F (line, square, rectangle or staircase?)
  • 3. F F F R F F R F F F R F F (line, square, rectangle or staircase?)
  • 4. F R F L F R F (line, square, rectangle or staircase?)

Reading a code one letter at a time

F F R F

This code is different from the ones on the sheet. Here, F means one step forward and R means a quarter turn to the right. It shows two ways to read a code.

Method 1: act it out
  1. Stand up and face the front of the room.
  2. Say "F" and take one step. Say "F" again and take another step.
  3. Say "R" and turn a quarter turn to your right. Do not step.
  4. Say "F" and take one step in the new direction.
Method 2: walk a finger on dots
  1. Put your pencil on a starting dot and point it up the page.
  2. Move up one dot for each F, so two moves up.
  3. For R, turn the pencil to point right. Stay on the same dot.
  4. Move one dot for the last F and draw the line you made.
The path goes two steps up, then one step to the right. It makes a corner.

How to read a code

Go left to right

Put a finger under the first letter. Move along one letter at a time and never skip ahead. Order matters in code.

Say each letter as an action

Turn each letter into words, such as "forward" or "turn right". Saying it aloud helps children keep their place.

Treat turns as turns

A turn changes which way you face. The next F decides where you go. Pause at each turn before moving on.

Guess, then test

Make a prediction first. Then draw the code and compare. A wrong guess is useful because it shows what the code really does.

What is a program?

A program is a list of instructions that a computer follows. The computer does exactly what the instructions say, in the order they are written. It cannot guess what you meant. That is why coders write each step clearly and check that the order is right.

Children often learn this best away from a screen. When they follow a code with a pencil, they act like the computer. They do each instruction exactly and see what happens. If the picture looks wrong, they can look back along the code to find the instruction that caused the problem.

Skills and curriculum link

  • Predicting what code will do
  • Following steps in order
  • Quarter turns and direction
  • Spotting mistakes in code
  • Explaining your thinking

Ideas that help with code

  • Order mattersChanging the order of instructions can change the result. Try reading a code backwards and see if the picture is the same.
  • Computers are exactA computer does exactly what it is told, even when that is not what you meant. Clear instructions matter.
  • Mistakes are called bugsA bug is a mistake in a program. Finding and fixing it is called debugging, and it is a normal part of coding.
  • Predict, then testGood coders guess what a program will do and then run it. Checking a guess teaches you something every time.

Key words

  • CodeA set of instructions written in a special way, such as letters.
  • ProgramA list of instructions that is followed in order.
  • InstructionOne clear thing to do, such as move forward or turn.
  • PredictSay what you think will happen before you check.
  • Quarter turnA turn a quarter of the way round, like a clock hand moving from 12 to 3.
  • BugA mistake in a program. Fixing it is called debugging.

How to use it

  1. Print both pages. Page 1 is for your child. Keep page 2, which has the notes and answers.
  2. Read the first code together. Point to each letter in turn and say what it tells you to do.
  3. Ask your child to guess the shape before drawing anything. Then let them draw the code on the dots to check.
  4. For items 5 to 7, ask your child to think and write with no drawing. Ask them to explain their thinking in words.
  5. Check with page 2 and talk about any guess that was different. Come back another day and try the tricky ones again.

Help, stretch and game ideas

If it feels too hard

Let your child stand up and act out each step and quarter turn, or walk a finger along the dots. Say each letter aloud as an action. Do the first code together, then let them try the next one alone.

To stretch confident children

Ask your child to write their own code for a shape and swap it with a partner to predict. The partner guesses first, then draws to check. Then ask them to hide a deliberate mistake in a code for the partner to find.

Make it a game

One child reads a program aloud while a partner draws it on dots. Compare the picture with the guess, then swap roles. Take care to read slowly and clearly, because the drawer can only follow what is said.

Mistakes to watch for

Watch forA child counts a turn as a step and moves the pencil when they see R or L.

Try thisSay that a turn only changes direction. Ask them to turn on the spot, then show that they have not moved anywhere.

Watch forA child mixes up left and right and turns the wrong way.

Try thisLet them hold up both hands and find the right one. Turn the paper or the child's body to face the way the pencil points.

Watch forA child guesses from the first few letters and does not read the whole code.

Try thisAsk them to put a finger under every letter before they guess. Then draw the code to see if the guess was right.

Talk about it

  • What did you think the code would draw? What made you think that?
  • Which letter tells you to change direction?
  • What happens if you change the order of the letters?
  • How did you find the mistake? What would you change to fix it?
  • Where did your guess match the drawing, and where did it not?
  • Can you think of a code that would make a different shape?

Take it off the page

Human robot

Use chalk or masking tape to make a grid of dots on the floor. One child is the robot and follows spoken instructions. Another child gives the instructions one at a time.

Code a path at home

Choose a start and an end in the garden or a room. Write a code of forward steps and quarter turns, then follow it to see where it leads.

Block shapes

Lay out a shape with blocks or counters. Write a code that would draw it, then swap with someone to test it.

Who it is for

Parents

Sit with your child for the first code, then let them lead. Ask for a guess before they draw. If they get stuck, act out the code together. Praise careful thinking, not only correct answers.

Teachers

Use it as a starter or plenary after teaching algorithms and programs. It needs no preparation beyond printing. The guess then check design supports talk about predictions. Page 2 offers help and stretch ideas for mixed ability groups.

Home educators

Print it as part of a wider computing plan. It pairs well with outdoor direction games and talk about instructions in daily life. You can reuse it for brothers and sisters, or return to it later for revision.

Where this fits in computing

Before this sheet, children learn that instructions must be clear and in the right order. They practise giving directions, following simple routines and using words like forward, left and right. Quarter turns build on that vocabulary.

After this sheet, children can write their own short programs and check them. At Key Stage 1, the National Curriculum for England covers understanding algorithms, creating and debugging simple programs, and using logical reasoning to predict what they do. In Key Stage 2, children meet longer programs with repeats.

Keep practising

If this sheet went well, find more in our Year 2 Programming worksheets, Year 2 computing worksheets and Year 2 worksheets and games, or try Robot Sandwich Algorithm, Code the Pirate Robot, Predict the Beetle Bot or Story Steps next.

Browse: Mini Minds Hub > Year 2 worksheets and games > Year 2 computing worksheets > Year 2 Programming worksheets

Questions parents and teachers ask

What do children do on Lumi's Mystery Shape Code?

They read short codes made of letters, guess which shape each code will draw, then draw the code on dots to check. For later items they think and write without drawing, and explain mistakes in code.

Do children need a computer or tablet?

No. It is a screen free activity that needs only paper and a pencil. Children act as the computer by following each instruction exactly, which helps them understand how code works.

What do the letters in the codes mean?

The letters are instructions. F means move forward one step, and R and L are quarter turns to the right and left. Read the codes together and say each letter as an action before starting.

Why do children guess before they draw?

Guessing first is a way of predicting what a program will do. Drawing then tests that prediction. Both right and wrong guesses give useful talk about how the code works.

What if my child's guess is wrong?

That is fine and part of the learning. Ask them to put a finger on each letter and say what it does. Walk the code again and find where the guess and the drawing parted.

Are there answers for the grown-up?

Yes. Page 2 is for the grown-up and has the answers, notes on how to use the sheet, help for children who find it hard and a stretch idea. Keep it back until your child has tried.

How does this link to the Year 2 computing curriculum?

It supports computing at Key Stage 1 in the National Curriculum for England. It practises predicting what simple programs do, following precise instructions and spotting mistakes. It supports classroom learning and does not replace it.

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.