Write the robot program: the shortest way to the star
Here the roles swap. The grid and the goal are given, and the child writes the program, then counts the squares to check it is the shortest.
30 ready sheets
Worksheets
Write a program to the star29 ready sheetsFour small grids with a circle, a star and a few walls. The child writes the arrows that get the robot there and counts the squares.
Robot program around the walls1 ready sheet6 by 6 grids with many walls that block the straight route, so the child has to plan a detour and find the shortest program.
Signature experiences
Related worksheet generators
- Debug the algorithmDebugging worksheets: a program that should reach the star has one wrong step. The child finds it and fixes it. Answer…
- Robot grid codingUnplugged coding worksheets: a robot on a grid and a list of arrow commands. The child runs the program and writes the…
- If / else rulesConditional logic worksheets: an if / else rule and a row of numbers. The child applies the rule to each number and…
- Detective Files: one-page escape casePrintable escape puzzles: a number lock solved with logic clues, a letter grid and a coded note. Each answer opens the…