Mini Minds Hub · Free printable

Code the 1690s Maze: Free Printable Worksheet for Year 4

In short: Free printable Code the 1690s Maze for Year 4 (ages 8 to 9). Write move codes to get from START to GOAL. Screen-free, with answers and notes for grown-ups.

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

Code the 1690s Maze is a Year 4 (ages 8 to 9) computing worksheet where children write move codes to guide a counter from START to GOAL. It suits children who are learning to give exact, ordered instructions. They also meet repeats and practise finding and fixing mistakes in a code. Page 2 gives the grown-up notes, help, a stretch idea and the answers.

Before any writing, put a counter on START and move it one square for each letter in a code you read aloud. A common slip is counting the square the counter is already on as a move. Ask the child to say "move" only when the counter lands on a new square. Once they can do this, writing the code is much smoother.

What is on the sheet

Children write move codes to guide a counter through a maze from START to GOAL. There is a table to fill in and numbered questions with space to answer. Squares have names made of a letter and a number, such as B1 and C1, so children read the grid carefully before they write. Early questions ask for short routes from START. Later ones ask them to shorten a run of the same move into a repeat, then write the full code from START to GOAL.

  • Row
  • A
  • B
  • C
  • D
  • E
  • F
  • Write the code to move from START to B1.
  • Write the code to move from START to C1.
  • Write the code to move from C1 down to C4.
  • Write L L L L L as a short repeat.
  • Write the full code from START to GOAL.

Why code a maze on paper?

A computer follows instructions exactly as they are written. It cannot guess what you meant. An algorithm is a clear set of steps, in the right order, that solves a problem. Writing a route through a maze is a small, friendly way to see this. If one move is missing or in the wrong place, the route changes.

Working on paper slows the thinking down in a useful way. Children can trace a code with a finger or a counter and see exactly where it goes. When it does not reach the right square, they have a clear job: find the move that caused it. This is the habit of debugging, and it needs patience and careful looking more than speed.

Skills and curriculum link

  • Writing sequences
  • Using repeats
  • Debugging
  • Reading a grid
  • Following exact instructions

Ideas to talk about while children work

  • Order mattersThe same moves in a different order can lead to a different place. Try swapping two moves in a short code and trace both.
  • Instructions must be exactA computer cannot fill in gaps. Each move needs to be written clearly so that someone else could follow it.
  • Repeats save writingWhen the same move happens several times in a row, there can be a shorter way to write it. Ask the child why that might help.
  • Bugs are normalProgrammers expect to find mistakes in their first attempt. Finding one is part of the work, not a sign that something has gone badly.

Key words

  • CodeA set of instructions written in a form that can be followed step by step.
  • AlgorithmA clear list of steps, in order, that solves a problem or completes a task.
  • SequenceSteps that happen one after another in a set order.
  • RepeatDoing the same step more than once. You can write the step once and say how many times to do it.
  • BugA mistake in a code that makes it do something different from what you wanted.
  • DebugTo find a bug and fix it.

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 key together. Make sure your child knows what each letter in a code means before they start.
  3. Work through the items in order. Your child can trace each code on the grid with a finger or a counter.
  4. Do the first few together and talk about each choice. Then let your child carry on alone if they are ready.
  5. Check against page 2. If a route does not reach the right square, ask your child to trace it again and find where it goes off course. Come back another day to repeat it.

Help, stretch and game ideas

If it feels too hard

Ask your child to say each move aloud as they trace it on the grid, before they write the letter. Put a counter on START and move it one square at a time. Work on the first few items together, and return to the rest later.

To stretch confident children

Ask your child to rewrite their code for item 10 using repeats, then trace the new code on the grid to check it reaches the same place. They can then explain why the short version still works.

Make it a game

Swap sheets with a partner. One child reads a code aloud while the other traces it on the grid and says where it stops. Then swap roles. If the code ends in the wrong place, work together to find the bug.

Mistakes to watch for

Watch forA child counts the START square as the first move, so the route ends one square out.

Try thisPut a counter on START. Move it one square for each letter, and count only the squares it lands on.

Watch forA child mixes up left and right while tracing.

Try thisKeep the page the same way up. Trace with a finger and say each direction aloud. Compare it with the key before writing the letter.

Watch forThe code does not reach the right square because a move is missing or in the wrong place.

Try thisTrace the code slowly and mark where the counter first leaves the planned route. That is the bug. Fix that part, then trace the whole code again.

Talk about it

  • What does each letter in the key tell the counter to do?
  • How did you decide where to begin your code?
  • What happens if you swap two moves in your code?
  • Which part of your code did you need to change, and how did you spot it?
  • Can you find a shorter way to write a long run of the same move?
  • Could someone else follow your code without seeing the maze?

Take it off the page

Human robot

Make a grid on the floor with paper squares or chalk outside. One person is the robot and moves one square for each instruction given. Another person gives the instructions.

Hidden treasure

Hide a small object on the grid. Write a code on paper that leads a partner from START to the object, then see if they follow it to the right square.

Design a maze

Draw a small maze on squared paper with START and GOAL. Write a code that solves it, then swap with someone and ask them to trace it and check for bugs.

Who it is for

Parents

Sit beside your child for the first few items, then let them lead. Ask them to say each move aloud as they trace it. If a code goes wrong, treat it as a bug to find rather than a failure. Short sessions work well, and you can return another day.

Teachers

Use it as a starter, plenary, early finisher task, homework or table activity. It needs no preparation beyond printing. Page 2 gives support and stretch ideas for mixed groups. Pairs can swap sheets and trace each other's codes to practise debugging with talk.

Home educators

Print it as part of a wider computing plan or as a calm screen free task. It pairs well with giving and following directions around the house or garden. You can print it again for brothers and sisters, or for revision a few weeks later.

Where this skill fits

Before this sheet, children benefit from giving and following simple directions, such as left, right, forwards and back, and from understanding that an instruction needs to be clear and in the right order.

After it, children can move on to writing and debugging short programs in a block based tool or on a computer. They can also look at repeats and loops in more detail. The thinking they practise here, planning steps, checking them and fixing bugs, carries across to that work.

Keep practising

If this sheet went well, find more in our school trip activities for Hampton Court Palace, Year 4 Programming worksheets and Year 4 computing worksheets, or try Code a Balanced Hall Front, Debug the Hedge Maze, Build the Ultimate Machine or Debug the Route Round Wisley next.

Browse: Mini Minds Hub > school trip activities for Hampton Court Palace > Year 4 worksheets and games > Year 4 computing worksheets > Year 4 Programming worksheets

Questions parents and teachers ask

What age is Code the 1690s Maze for?

It is written for Year 4 (ages 8 to 9), in Key Stage 2. It can also suit slightly older or younger children who are learning to write move codes, with a little more support or stretch as needed.

What will children practise?

Children practise writing step by step move sequences, using repeats, and finding and fixing bugs in an algorithm. They read a grid carefully and check their code by tracing it from START to GOAL.

How do I use it?

Read the key together, then work through the items in order. Children can trace each code on the grid with a finger or a counter. Do the first few together, then let your child try alone and check with page 2.

What if it feels too hard?

Ask your child to say each move aloud as they trace it on the grid, before they write the letter. A counter on START helps. Do the first items together and return to the rest on another day.

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.

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 page 2 has support and stretch ideas for mixed groups.

Is this a screen free activity?

Yes. It needs only paper and a pencil, plus a counter if you want one. It works well for quiet time, rainy days and school holidays, and it gets children talking about their thinking.

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.