
CS Unplugged
Computer science with no computer. Every activity here is a printable worksheet or pair game you can do on your own or with a partner: for a brain break, a day the computers are down, or extra practice on one idea.
Many of these are classic unplugged activities, shared under Creative Commons licenses or in the public domain, rewritten as ready-to-print worksheets so a teacher can hand them out and a student can work through them alone. Inspired by, and partly adapted from, CS Unplugged (not affiliated); each adapted sheet credits its source at the bottom.
Warning: 9/27/2026: This is a work in progress. I have only reviewed a few of these worksheets. I expect to make many changes, fixes, and improvements in the next 2 to 12 months. Locations where you can find other free unplugged material are listed at the bottom of this page.
All activities
Sequenced
Short tracks that build from one activity to the next. Do them in order.
Middle school
How computers store information. Everything on a computer is 0s and 1s. Start with numbers, then work up to letters, pictures, and catching errors.
- Count the Dots: binary numbers 30 min
- Binary Battleship 25 min
- Pixel Pictures 30 min
Finding things fast. Search a messy list one item at a time, then a sorted list by jumping to the middle. Count the difference.
- Battleships: Searching 20 min
- Trace a Search 20 min
Heuristics. Play against a program written on paper. First one that never loses, then one that can, and find out why.
- The Paper That Never Loses 30 min
- The Paper Othello Player 30 min
Modulo: clock math. Counting around a clock that wraps back to zero, then the same idea as the % operator in code.
Binary search trees. A tree where everything smaller goes left and bigger goes right. Search one, play the hidden-number game, then build your own.
- Binary Search Trees: Find the Number 20 min
- The Hidden Number Tree 20 min
- Build a Tree 15 min
Graph puzzles. Towns, streets, and maps: pave the fewest roads, place the fewest ice cream vans, and color a map with the fewest colors.
- The Muddy City 30 min
- Tourist Town 30 min
- The Poor Cartographer 30 min
Computers follow instructions. Give exact instructions to a partner who has to follow them to the letter, then follow a map that works just like a simple machine.
- Marching Orders 25 min
- Treasure Island 30 min
High school
Python on paper. Read code the way a computer does, one line at a time, before you ever run it.
- Trace it: lists and loops 35 min
The AP robot. The grid-and-robot questions from the AP CSP exam, from simple moves up to programs that sense walls. Then make as many new sets as you want.
- Robot grid 1: moves and turns 30 min
- Robot grid 2: loops and procedures 30 min
- Robot grid 3: sensing with CAN_MOVE 30 min
Logic and codes. True and false, hidden messages, and a game you can always win once you know its binary secret.
- Creature Sorting 30 min
- Creature Sorting: Real if Statements 15 min
- Caesar Cipher: hiding a message in plain sight 30 min
- Caesar Cipher: cracking it with letter frequency 30 min
- Nim: the take-away game 30 min
- Nim: the binary secret 25 min
Little Man Computer. A whole computer on paper: 100 mailboxes, one calculator, ten instructions. Trace programs, then write your own.
- Little Man Computer: tracing a program 20 min
- Little Man Computer: branches and loops 20 min
- Little Man Computer: write your own 25 min
Modulo in the real world. Where % shows up in programs, then how check digits catch typos in barcodes and book numbers.
For teachers
Every sheet with a New set button can make as many fresh versions as you
need; the set number prints on the sheet so you can reprint the same one.
Answer keys are hidden from students: use the Show answer key link at
the bottom of a sheet (or add ?key=1 to its address), then print.
Other unplugged resources
Sources this section draws on, and more places doing unplugged computer science. Many of their activities are teacher-led (whole-class games, magic tricks) rather than print-and-use.
- CS Unplugged by Tim Bell, Ian H. Witten and Mike Fellows, University of Canterbury, and its printable resources.
- Teaching London Computing: unplugged activities by Paul Curzon, Queen Mary University of London.
- Code.org unplugged lessons. (Free / not public domain or share alike)
- Bootstrap: algebra and programming, with a paper-and-pencil workbook before the computer.
- Hello World: The Big Book of Computing Pedagogy from the Raspberry Pi Foundation.
- Math for Love: math games that play well alongside these. (Many free resources / not public domain or share alike)