Unplugged activities
One-page paper activities. No computer needed: print them and use them in class or at home.
Computer science topics
Topics about what happens inside a computer. Each has a paper activity, a 40-minute class plan and a game in the Arcade.
- Binary numbersInside a computer there are only two states: current on or off, 1 or 0. Every number, letter, picture and sound is made of long rows of these two states. A single 1 or 0 is called a bit.30 min · Game: Binary Cards
- Pictures and pixelsEvery picture on a screen is made of tiny squares called pixels. The computer stores the picture as numbers. Writing how many times the same colour repeats can be much shorter than writing every pixel one by one; this is called compression.30 min · Game: Pixel Painter
- Error detection: parity magicData can get damaged in cables, over wireless or on a disk: a 1 turns into a 0. By adding a few extra bits, a computer notices the damage, and sometimes even finds and fixes it. These extra bits are called parity bits.30 min · Game: Parity Magician
- Sorting and searchingOf two algorithms that do the same job, one can be much faster. In a sorting network many comparisons happen at the same time. Looking in the middle of a sorted list (binary search) rules out half of the places left with every look.35 min · Game: Sorting Network, Hidden Number
- Networks: muddy townHouses and the streets between them make a network; computer science calls it a graph. You do not need every street to connect every house: one street fewer than the number of houses is enough, and those streets never make a loop. Trying the streets from the cheapest up and skipping any that would make a loop gives the lowest cost every time.30 min · Game: Muddy Town
- Sorting algorithms: balance scaleMany sorting algorithms work only by comparing two things at a time, just like weighing two boxes on a balance scale without seeing their weights. An algorithm’s speed is measured by how many comparisons it makes. Selection sort looks for the lightest of the remaining boxes in every round and weighs a lot. Quicksort picks a pivot and splits the boxes into a light pile and a heavy pile; it usually weighs far less.30 min · Game: Balance Scale
- Graph colouring: map colouringOn a map, two countries that share a border are never given the same colour. If we think of each country as a point (a node) and each shared border as a line (an edge), the map becomes a graph; computer science calls this graph colouring. The real question is: how few colours will do? Countries that touch only at a corner are not neighbours. Mathematicians have proved that four colours are always enough for any flat map (the four colour theorem).30 min · Game: Map Colouring
- Text compressionTexts repeat the same words and pieces again and again. Instead of writing a piece a second time, a computer leaves a short note: “go back this many letters and copy this many”. When it opens the text it follows the notes, and not a single letter is lost. The more a text repeats, the shorter it gets; with no repeats it does not shrink at all. It is the text cousin of “how many white, how many black” for pixels.30 min · Game: Squeeze the Text
- Information: twenty questionsInformation is what reduces uncertainty. A yes/no answer carries at most one bit of information: the best question cuts the choices that are left exactly in half. Each question doubles the number of things you can tell apart: 3 questions for 8, 10 for 1024, 20 for more than a million. A question whose answer you already know carries no information at all.30 min · Game: Twenty Questions
- State machines: treasure islandsA machine is always in exactly one state, just as the ship is always at one island. An input (boat A or boat B) moves the machine to another state by a fixed rule. Computer science calls this a finite state machine. The machine does not remember its past; it only knows its current state. By reading a word letter by letter and checking whether it ends in an “accepting” state, it can tell words apart.30 min · Game: Treasure Islands
By world
One page for each world: the programming idea from the game, on paper.
- Paper robotWorld 1 · 20 minRocket Launch: Break a job into small steps and write them in the right order.
- Loop hunterWorld 2 · 20 minLoop Paradise: Shorten repeated steps with a loop and find the bug in a program.
- Shortcut masterWorld 3 · 25 minMaster Center: Make a working program shorter and repeat until a condition ends.
- Boxes and recipesWorld 4 · 25 minModern Software: Follow a variable step by step, and name steps to use them again (a function).
- Paper modelWorld 5 · 25 minWorld of AI: Work out a rule from examples, predict a new example and talk about why data matters.
- Puzzle workshopWorld 6 · 30 minBonus World: Plan, test and review: design your own puzzle and have a friend solve it.