Year 2 Programming Worksheets: Free Printables, Ages 6 to 7
Home › Mini Minds Hub › Year 2 worksheets and games › Year 2 Computing worksheets › Year 2 Programming Worksheets: Free Printables
This page holds 23 printable Year 2 programming worksheets for children aged 6 to 7. They cover two things: making and fixing simple programs, and working out what a program will do before it runs. You will find loops, sequences, robot and pirate characters, and debugging tasks. They are free to print, and suit teachers, parents and home educators who want something ready to hand.
Last updated .
What children learn: programming in Year 2
In Year 2, children practise three linked ideas. A program is a set of steps in a clear order, so they build short sequences and use a loop when a step repeats. Programs can have mistakes, so they look for the step that does not match the goal and fix it. This is called debugging. They also predict. They read the steps, say what the robot will do, then check. Sequence Coding Cards are a gentle place to begin, and Code the Pirate Robot follows on well. Sit beside the child and ask them to point at each step and say it aloud. If the result does not match, try 'look again at step three' before offering the fix. For prediction sheets, a finger or a counter moving one step at a time helps. One sheet is plenty for a sitting. Stop when it is finished, and pick up the next one another day.
This follows the National Curriculum for England. Your school may teach topics in a different order.
Year 2 Programming Worksheets: Free Printables
23 free printables.
Bug Fix in the Veg PatchFix Harriet's bugs, then guide the watering can. With answers for grown-ups.45 minAnswers
Bug Hunt on Pirate IslandMove the parrot from A1. One arrow is one square. With answers for grown-ups.35 minAnswers
Code the Pirate RobotSteer Rusty to the treasure with arrows.40 minAnswers
Debug the Robot GardenFind the one bug in each program. Circle it and write the fix.20 minAnswers
Fix the Story BugRead each story program. Find the bug. Fix it. With answers for grown-ups.40 minAnswers
Gus's Guess Where GameGuess where Gus ends, then check.25 minAnswers
Gus's Predict and Test LabPredict first, then test with a pencil. With answers for grown-ups.35 minAnswers
Gus's Rocket PredictionsPredict the planet, then trace the route. With answers for grown-ups.30 minAnswers
Holly's Gold Trail Bug HuntFollow the arrows, find Holly's bug, then fix it. With answers for grown-ups.35 minAnswers
Holly's Hop Ticket PuzzlesRead each ticket. Predict where Holly stops. Then check with hops.35 minAnswers
Ladybird Bot Debug LabSteer the bot to the leaf, then find the bug. With answers for grown-ups.30 minAnswers
Loops Dance GamePick a move set and repeat it, just like a computer loop.Answers
Lumi's Mystery Shape CodeGuess the shape, then check it.25 minAnswers
Monster Maze CodeWrite the route. Then fix Harriet's bug.35 minAnswers
Oakley's Library RobotPredict the book, test with a counter, then tick or fix. With answers for grown-ups.40 minAnswers
Petrol Station Route RobotSteer the car with arrows. Fix the broken routes. With answers for grown-ups.35 minAnswers
Predict the Beetle BotPredict first, then trace with a pencil.40 minAnswers
Robot Jumps to TreasureFollow each route exactly. Fix the bug.35 minAnswers
Robot Waiter Order SlipWrite arrows to guide the robot waiter.30 minAnswers
Sequence Coding CardsBuild a set of steps for a robot.
Sunny's Robot PredictionsPredict first. Then count on to check. With answers for grown-ups.30 minAnswers
Unicorn Code QuestFollow the arrows on the map. Write your answers on the lines. With answers for grown-ups.30 minAnswers
Waddles' Number Line TrainDrive the train, write programs and fix the muddles. With answers for grown-ups.30 minAnswers
Questions parents and teachers ask
Do children need a computer or tablet for these sheets?
No. These are printed sheets, so a printer and a pencil are what you need. Children follow the steps on the page with a finger or pencil and mark their answers. If you want to try the same ideas on a screen afterwards, that is up to you, but the sheets work on their own.
Which sheet should we start with?
Start with Sequence Coding Cards or Loops Dance Game. Both ask children to follow steps in order, which is the base for everything else. Once that feels steady, move to Code the Pirate Robot, then Debug the Robot Garden. Prediction sheets such as Predict the Beetle Bot suit after that. If your child is already confident with sequences, start further along.
What does debugging mean for a six or seven year old?
It means finding a step in a program that stops it doing what it should, then changing it. Children read the steps, compare them with the goal, and spot where the two part ways. Debug the Robot Garden is a good place to try this. Notice the looking and checking as well as the fix.
What if my child's prediction does not match what happens?
That is useful information. Ask them to go back and touch each step again, saying what happens at that point. Often one step has been read differently. Say 'not yet' and let them find it. Sheets like Gus's Predict and Test Lab are about predicting then checking, so a mismatch is part of the task.
How do I explain a loop to a Year 2 child?
A loop is a way of saying 'do this again', so you do not write the same step many times. Try it out loud first. Clap, then say 'repeat clap, three times'. Then try Loops Dance Game and ask which moves repeat and how many times. Let them say it in their own words.
How long does a sheet take, and what if it feels too hard?
Plan on a short sitting, around ten to fifteen minutes, though this varies by sheet and child. If one feels too hard, go back to a sequence sheet, or do the first few steps together and let them finish the rest. If it feels too light, ask them to predict first, then explain how they know.
Browse the whole Mini Minds Hub
Last updated 2 December 2026. Written by the Mini Minds Hub team at Jaques of London, the oldest educational toys and games company in the world, founded in 1795.