Mini Minds Hub · Free printable

Debug the Marquee Route: Free Printable Worksheet for Year 4

In short: Free printable Debug the Marquee Route for Year 4 (ages 8 to 9). Screen-free, with answers and notes for grown-ups.

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

Debug the Marquee Route is a computing worksheet for Year 4 (ages 8 to 9). Children read arrow routes on a grid map, predict where a visitor finishes, write a route using Repeat and brackets, and fix mistakes. Page 2 gives the grown-up help ideas, a stretch task and the answers.

Before anyone moves a counter, model one Repeat by writing the arrows out in full. For Repeat 3 [ ↑ ← ], write ↑ ← ↑ ← ↑ ←, then move one square for each arrow. The usual slip is doing the bracket once. A quick check is to ask the child to read the full arrow string aloud before they choose an answer.

What is on the sheet

Children follow short arrow routes on a made up map. Each arrow moves a visitor one square, and every route starts at the Gate. Repeat with brackets means do the arrows inside the brackets that many times. The sheet mixes multiple choice questions with three answers each, a table to fill in and numbered questions with space to write. Children predict where a route finishes, write a route using Repeat and look for mistakes to fix. A finger or counter helps them check each route before they write.

  • A
  • B
  • C
  • D
  • E
  • Repeat 4 [ → ]. Where does the visitor finish?
  • Repeat 2 [ ↓ → ]. Where does the visitor finish?
  • Write ↓ → ↓ → ↓ → using one Repeat with brackets.

A worked example

Repeat 3 [ ↑ ← ]. Where does a counter finish compared with where it started?

This example uses its own made up route, so it does not give away an answer on the sheet. Each arrow moves one square.

Method 1: write it out in full
  1. The brackets hold ↑ ←. Repeat 3 means do them three times.
  2. Write the full route: ↑ ← ↑ ← ↑ ←.
  3. Put a counter on the start square. Move it one square for each arrow, saying the direction as you go.
Method 2: count each direction
  1. One pass of the brackets has one ↑ and one ←.
  2. Three passes means three ↑ and three ←.
  3. Each arrow is one square, so count 3 squares up and 3 squares left from the start.
3 squares up and 3 squares left of the start square

Building the skill step by step

Start with one arrow

Ask the child to move a counter one square at a time while you read a short route aloud. Say each direction clearly so they link the arrow to a move.

Add the brackets

Show that Repeat 2 [ ↓ ] is a short way to write ↓ ↓. Let them write the long version beside the short version so they can see the match.

Spot the pattern

Look at a long route and ask what keeps happening. If a group of arrows comes round again and again, that group can go inside brackets.

Read it back

Once a route is written, ask the child to read it aloud as a full list of arrows and trace it on the map. If it ends somewhere unexpected, look again together.

Algorithms, repeats and bugs

An algorithm is a set of clear steps that gets a job done. A route made of arrows is an algorithm, because each step says exactly which way to move. Computers need instructions that are precise, in the right order and with nothing left out. Children who practise this on paper are learning how to think like a programmer without needing any equipment.

Repeating a group of steps is called a loop, and it saves writing the same thing many times. A bug is a mistake in a set of instructions, and debugging means finding it and fixing it. Finding a bug is a normal part of programming, not a sign that something has gone badly. The skill is to trace the steps one at a time and notice where the route stops doing what was intended.

Skills and curriculum link

  • Predicting loops
  • Writing with Repeat
  • Debugging
  • Following sequences
  • Reading grid maps

Ideas for helpers

  • Write it out in fullIf a Repeat is confusing, ask the child to write every arrow in a row first. Then they can move a counter along the list without having to hold the loop in their head.
  • Use a counterA counter or finger on the map slows things down in a useful way. It stops children guessing from the look of the arrows and makes them follow each step.
  • Say the moves aloudReading each direction aloud, such as down, right, down, right, helps children keep their place and notice when they skip an arrow.
  • Trace it backWhen a route finishes in an unexpected place, trace it again from the Gate. Ask where the counter first went somewhere unplanned. That is where the bug is.

Key words

  • AlgorithmA set of clear steps to do a job, in the right order.
  • SequenceInstructions that happen one after another, in order.
  • RepeatDo the same steps again. The number says how many times.
  • BugA mistake in a set of instructions.
  • DebugFind a bug and fix it so the instructions work.
  • GridA map made of squares, where each move goes one square.

How to use it

  1. Print both pages. Page 1 is for your child. Keep page 2, which has the notes and the answers.
  2. Read the rules at the top together. Each arrow moves one square, and every route starts at the Gate.
  3. Model one Repeat by writing the arrows out in full, then moving a counter or finger along the map.
  4. Let your child work through the sheet, checking each route on the map before they write an answer.
  5. Check together using page 2. Ask, "How did you work that out?" Come back another day to try again.

Help, stretch and game ideas

If it feels too hard

Let your child write out the full arrows for each Repeat before they move. Then move a counter one square at a time, saying each direction aloud. Start with the first route and come back to the rest later, so there is a clear first success.

To stretch confident children

Ask your child to write a new Repeat of two arrows on scrap paper for a partner to predict. They check the finish together on the map. Then try to write the same route a different way, using a different number of repeats.

Make it a game

Take turns in pairs. One player reads a route aloud while the other moves a counter on the map. Swap roles, then compare finishing squares. If the counters end in different places, trace the route again together to find out why.

Mistakes to watch for

Watch forA child does the arrows in the brackets once and ignores the number after Repeat.

Try thisWrite the full list of arrows first, then tick off each pass of the brackets as the counter moves.

Watch forA child treats the Repeat number as the number of squares to move, not the number of times to do the brackets.

Try thisRemind them that each arrow is one square. Count the arrows in the full list to see how many moves there are.

Watch forA child starts from a different square, not the Gate.

Try thisPut a counter on the Gate before every route. Say, "We start at the Gate each time," and begin again.

Talk about it

  • What does Repeat tell the visitor to do?
  • Can you show me the full list of arrows for this route?
  • Where did the counter go on the first pass of the brackets?
  • How did you spot where the bug was?
  • Why is it useful to use Repeat instead of writing every arrow?
  • Could you write this route a different way?

Take it off the page

Human robot

Mark a grid of squares on the floor with masking tape or chalk outdoors. One person reads a route and another walks it one square per arrow. Swap roles.

Draw your own map

Draw a small grid on paper and name a start square. Write a route with Repeat and ask someone to follow it with a counter.

Repeat actions

Make up a short sequence of actions, such as clap, stamp. Write it with Repeat and a number, then do it together the right number of times.

Who it is for

Parents

Sit beside your child for the first route, then let them lead. Use a counter or a finger on the map. If they get stuck, write the arrows out in full together before moving.

Teachers

Use it as a starter or plenary around work on repetition and debugging, or as a table activity with counters. Page 2 gives support and stretch ideas for mixed groups, and the routes can be rebuilt in a block coding program afterwards.

Home educators

It fits alongside a wider computing plan and needs only paper, a pencil and a counter. Work through it together the first time, then print it again for brothers, sisters or revision on another day.

Where this fits

Before this, children learn that a program is a sequence of precise instructions. They move a counter or a person one step at a time and learn that order matters.

After this, children can build routes in a block coding program, use repeat blocks, and test and fix their own programs. They can also write longer routes that combine more than one Repeat.

Keep practising

If this sheet went well, find more in our Year 4 Programming worksheets, Year 4 computing worksheets and Year 4 worksheets and games, or try Program the Tower Route, Garden Delivery Robot, Code a Balanced Hall Front or Build the Ultimate Machine next.

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

Questions parents and teachers ask

What age is Debug the Marquee Route for?

It is written for Year 4, ages 8 to 9, in Key Stage 2. It also suits older children who are new to repeat, or younger confident children who enjoy puzzles and following instructions.

What will children practise?

Children practise predicting, writing and debugging arrow algorithms that use repeat on a grid map. They read each route carefully, check it on the map and explain what happens when a group of arrows repeats.

How do I use it with a child?

Print both pages and give page 1 to the child. Work through the first route together, writing out the full arrows. Then let them try the rest, checking each route on the map with a finger or counter.

What if it feels too hard?

Let them write the full arrows for each Repeat, then move a counter one square at a time. Start with the first route and return to the rest on another day. Not yet is useful information, not a problem.

Do children need a computer?

No. It is a screen free activity that needs paper, a pencil and ideally a counter. The routes can be rebuilt in a block coding program afterwards, but this is optional.

Can teachers use it in class?

Yes. It works 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.

Do I need to print in colour?

No. It prints well in black and white on plain A4 paper. Print both pages, give page 1 to the child and keep page 2 with the notes and answers.

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.