Worksheet: write the robot program that reaches the star

The first time the child writes an algorithm alone. The routes are short and the walls few, so the focus is on writing clear commands in order.

29 ready sheets in 3 packs of 10, each with its answer key. Pick a sheet or print a whole pack from the panel below.

Loading the worksheet…

About this sheet

Skill
Write the robot program (Puzzles and activities)
Suggested age
Ages 6–9
Difficulty
Easy
Answer key
Yes, on its own page, made with every new version
Paper
A4 or Letter, black and white or colour

Age and grade are a guide, not an official curriculum match. How we make and check our sheets

Remind the child of the four arrows and how to write a repeat, such as → ×2. The program goes line by line in the empty boxes next to the grid.

Ask them to draw the route lightly in pencil on the grid first and only then turn it into commands. Planning first and writing second is exactly how programmers work.

When it is written, they run their own program with a finger, as a robot that does not know where the star is. If it misses, they find and fix the step themselves.

The last question, the fewest squares, shows that many programs can be right but some are shorter and better. The answer page shows one short program out of several possible ones.

If the child writes a different program of the same length, it is fully correct, and that makes a nice talk about problems with more than one solution.

Is there only one answer?

There may be several shortest programs of the same length, and all are right. The key shows one of them.

How do I mark it quickly?

Check the number of squares first, then run the child's program on the grid and see that it reaches the star without crossing a wall.

What age is it for?

From the end of grade 1 to grade 3.

Found a mistake on this sheet? Tell us

Please do not include children's names or details. Only the link of this page is sent with your report.

Worksheets