Printable unplugged coding worksheets

Create screen-free coding challenges: a robot, a goal and arrows to get there. With loops, debugging and an answer key with the route drawn in.

What do you want to practise?

Teacher guide ↓

Teaching Guide: Unplugged Coding in Elementary School

Unplugged coding teaches children to think like programmers without a computer: a pencil, paper and a robot that follows arrows. This free coding worksheet generator creates grid challenges with a start, a goal, obstacles and stars, always with an answer key.

For
Elementary 1st, 2nd, 3rd, 4th, 5th, 6th (ages 6-11)
Subject
Technology › Computational Thinking
Includes
Student sheet and answer key
Format
A4, to print or save as PDF; new exercises every time
Price
Free, no sign-up
Available in
Catalan, Spanish, English
Printable unplugged coding worksheets: sample printable A4 worksheet, first page of the student sheet Student worksheet
Printable unplugged coding worksheets: sample answer key of the same worksheet, first page Answer key
Sample made with LearnKits. Every worksheet is new: choose the topic, level and amount and print it for free.

Write the program

Pupils plan the route and write it as arrows in the boxes. The number of boxes matches the shortest program, so it is also a challenge in efficiency.

Run the program

Reading code matters as much as writing it. Pupils follow the instructions one by one, draw the route and mark where the robot stops.

Find the bug

Each program has exactly one wrong instruction. Debugging teaches careful checking and shows mistakes as a normal part of learning.

Loops and patterns

At level 3, repeated moves are written as loops (3 × →). Pupils find out that a short program is easier to read and to fix.

Relative instructions

At level 4 the robot moves the way it faces and turns. Pupils must put themselves in its place: turning left does not always mean going left on the page.

Answer key with the route

The answer key draws the route on the grid and shows the correct program. Every challenge is checked automatically so it always has a solution.

Frequently Asked Questions about Unplugged Coding

What is unplugged coding?
It means learning programming ideas (sequences, loops, debugging) without screens, through paper activities, games or body movement. It is a great way to start in elementary school and works in classrooms without computers.
Which grades are the worksheets for?
Level 1 (4×4 grid) suits Grades 1-2, level 2 with obstacles suits Grades 2-4, and levels 3 (loops) and 4 (move forward and turn) suit Grades 4-6. You can mix levels on the same worksheet.
Does every challenge have a solution?
Yes. Each grid is solved automatically before it is shown, and the answer key gives the shortest program. In “Find the bug” challenges the generator checks that only one instruction needs fixing.
What does “3 × →” mean?
It is a loop: it means repeating the → arrow three times, so the robot moves three squares to the right. Loops make programs shorter and easier to read.
How do I print only the answer key?
Click “Print” and choose “Answer key”; “Worksheet and answer key” prints both in one go. You can check it first in the Answer key view at the top.
Can I use it with programmable floor robots?
Yes. Levels 1 and 4 follow the same logic as programmable floor robots: pupils can solve the worksheet on paper and then test it with the robot on a grid mat.
Is any pupil data sent to a server?
No. All challenges are generated in your browser and no pupil data is stored.