Skip to content
A 10 by 10 coding grid with cells A1, A2, A3, B3 and C3 filled to form a capital L, next to the program F D F D F R F R F

Teach Coding Without Computers: Graph Paper Programming on a 100 Count Board

You don't need a computer lab to introduce students to programming. A marker, a reusable grid and a small set of exact instructions give students a surprisingly authentic first coding experience.

In graph paper programming, one student writes a program while another follows it to create a picture. If the drawing comes out different from the intended result, students investigate the instructions rather than simply starting over. The activity turns abstract ideas like algorithms and sequencing into something everyone can see.

This is the first post in a short series on unplugged coding with the 100 Count Graphboard.

What you need

DryErase.com 100 Count Graphboard with a 10 by 10 grid of one-inch squares

  • A 100 Count Graphboard for each pair of students
  • Two dry erase markers and an eraser
  • About 20 minutes

The front of the board is a 10 × 10 grid of one-inch squares: that's your coding workspace. The blank white reverse is handy for writing out the program or for group discussion. Use the grid as it is, one printed square per coding cell. With a marker, label the columns A–J across the top and the rows 1–10 down the side.

Five commands, three rules

Teach five commands:

  • U moves up one cell
  • D moves down one cell
  • L moves left one cell
  • R moves right one cell
  • F fills the current cell

And three rules:

  1. Moves change your position but don't color anything. F colors a cell but doesn't move.
  2. Every program starts in the top-left cell, A1.
  3. A move off the edge of the grid is invalid.

Model each command while a student points to the current cell. The difference between moving and filling heads off most early mix-ups.

First program: draw an L

Write this program on the board: F D F D F R F R F

Starting at A1, students fill A1, move down and fill A2, move down and fill A3, then move right to fill B3 and C3. The result is a capital L.

Have everyone compare their boards before erasing. If two drawings differ, read the program aloud one command at a time and find the first place they split. Your students have just run their first debugging session.

Partner challenge

Next, each student invents a picture using five to eight filled cells. They write the commands on the back of the board and keep the picture hidden. Their partner clears the grid, starts at A1 and runs the program exactly as written. The pair compares pictures, fixes the program if needed, then switches roles.

Encourage students to make their directions unambiguous instead of dropping hints about what the picture is supposed to be. Precise instructions are the whole point.

Use the whole board

Once students have the small L, challenge them to draw a full-board L: column A from A1 down to A10, then row 10 from A10 across to J10. That's 19 filled cells, since the two lines share the A10 corner.

What to assess

  • What is an algorithm?
  • Why can't we skip a move?
  • What should we do when a program draws the wrong picture?

For an exit ticket, ask students to write the correct next command for a half-finished program and explain why it's correct.

Next in the series: mystery pixel art, which uses the same five commands for a partner guessing game.

A nod to Code.org

Graph paper programming is one of the classic unplugged lessons in Code.org's free K–5 curriculum. Code.org is a nonprofit working to give every student access to computer science, and their unplugged lessons are a great next step for any class that enjoys this one.

Sources and further reading

Previous article Pixel Art Coding: A Partner Challenge for Elementary Students
Next article The Complete Dry Erase Board Buyers Guide: Lapboards and Classroom Whiteboards