Skip to main content
Codepiko
TR
All activities

To save a PDF, choose "Save as PDF" as the destination in the print window.

Binary numbers

The big idea

Inside 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.

Where do we meet it?

Every photo, message and song on a phone is made of bits. A “64 GB” phone has room for about 500 billion bits.

40 minutes in classFor teachers

  1. 5 minGetting attentionUp to 31 on one handAsk the class: “How far can you count on the fingers of one hand?” The answer is usually 5. Say that by the end of the lesson they will count to 31 on the same hand, and leave the question on the board.
  2. 10 minLessonLiving cardsFive pupils stand at the front holding the cards (16, 8, 4, 2, 1). Call out a number; the class decides which cards to turn over. Each time, write the cards facing up as 1 and the others as 0 on the board.
  3. 15 minLessonOn paper and on screenPairs fill in the “Dot cards” sheet. Pairs who finish open the Binary Cards game; its secret message round uses the same method as the sheet.
  4. 10 minAssessmentThirty-one on your fingersGo back to the opening question: each finger is a card (thumb 1, index finger 2…). Pupils show 7, 18 and 31 on their fingers. Exit card: “Why does a computer use only 1 and 0?”

Codepiko · Computer science: Binary numbers

Dot cards

Goal: Write numbers and letters with only 1 and 0.

Time: 30 min · You need: Pencil, scissors

Name:
Class:
Date:

1. Meet the cards

Cut out the five cards and lay them left to right. Each card has twice as many dots as the card on its right. A card facing up means 1, a card facing down means 0. Add the dots on the cards facing up to get the number.

  • 16
  • 8
  • 4
  • 2
  • 1

2. Code the number, crack the code

For the numbers at the top, find which cards must face up and write 1 or 0 in the boxes. Write which number each code at the bottom is.

Number to code
Number168421
6
13
21
31
Code to number
168421Number
00011
01010
10001

3. Secret message

Each letter has a place in the alphabet: A = 1, B = 2… First turn the code into a number, then the number into a letter. When you finish, code your own name and let a friend crack it.

Alphabet
A1B2C3D4E5F6G7H8I9J10K11L12M13N14O15
P16Q17R18S19T20U21V22W23X24Y25Z26

Secret message

  1. 01000
  2. 00101
  3. 01100
  4. 01100
  5. 01111

codepiko.com