Skip to content

💻 Coding & Logic

Binary: how computers count

Flip dot cards to count in binary, the 1s and 0s computers use for everything, then decode a secret message.

⏱️ 25 min🎂 Ages 9–12, 13–15📈 medium
  • Computational thinking
  • Critical thinking
  • Hands-on

🧰 You will need

  • 1 × Piece of thin card (cereal box)
  • 1 × Pencils and crayons
  • 1 × Scissors

0️⃣1️⃣ Only two numbers?

Inside a computer, every photo, song, game and message is made of tiny switches that are either on or off. We write on as 1 and off as 0. Counting with only 1s and 0s is called binary. How can you count to 31 with just on and off? Let’s find out.

🎮 Try it on the screen

Tap the cards to turn them face up. Add up the dots on the face-up cards. Can you make each target number? Then decode the secret message.

00000

= 0

Challenge: make 5 (face-up cards add up).

Secret message from a computer: 01000 01001

Set the cards to each code, read the number, then turn it into a letter (A = 1, B = 2, C = 3…).

🛠️ Make binary cards

  1. Cut 5 cards the same size.
  2. Draw dots on one side: 1 dot, 2 dots, 4 dots, 8 dots and 16 dots. Leave the other side blank.
  3. Lay them in a row with 16 on the left and 1 on the right.
  4. Face up = 1, face down = 0. Show 01001. How many dots can you see? (8 + 1 = 9!)
  5. Count from 0 to 31, one number at a time. Watch the 1-card: it flips every time! Which card flips least?
  6. Write a secret word in binary for a friend (A = 1, B = 2…). Can they decode it with the cards?

💡 What happened?

Each card has double the dots of the one to its right: 1, 2, 4, 8, 16. Each card is a bit. With 5 bits you can make every number from 0 to 31. With 8 bits (a byte), you can go up to 255. Computers use bits to store numbers, letters, colours and sounds. A letter is just a number, and a number is just bits.

Did it work?