Pip
Lesson 1 of 12

Binary: the computer's secret language

4–6 min+100 XP
Grace and Pip in lesson 1: Binary: the computer's secret language

Your mission

Grace and Pip are trapped inside a computer and the only way out is a bridge made of 1s and 0s. Learn how just two numbers can make every number, picture and game you have ever seen.

Power-ups

  • Bits are switchesA bit is 0 (off) or 1 (on). Computers are built from billions of them.
  • Place valuesFrom the right, each bit is worth 1, 2, 4, then 8. So 1011 = 8 + 2 + 1 = 11.
  • Pictures are numbersEvery pixel is stored as numbers, and colours are mixes of red, green and blue.

Your turnTry it yourself

Quick checkThree questions

1What is binary 1011?

8 + 0 + 2 + 1 = 11.

2How many different values can one bit hold?

Just 0 or 1.

3How does a computer store a picture?

Each pixel is numbers, including how much red, green and blue.

Off-screen challenge: Binary bracelet

Write your first initial's position in the alphabet in binary (A = 1, B = 10, C = 11…). Thread dark beads for 1 and light beads for 0.

Next time: what actually is AI?