Skip to content
Home: Success TutoringTeachers

Grade 5 Computer Science lesson plan · More Computer Science resources

Binary Numbers for Kids: Unplugged Dot Cards and How Computers Store Data

Using five dot cards (16, 8, 4, 2 and 1) and no computers, students discover how binary uses only 0s and 1s to represent numbers. They convert numbers between decimal and binary, find the patterns in the cards, decode a secret message, and learn how computers store numbers, letters and pictures as bits and bytes.

  • 60 minutes
  • Grade 5
  • Computer Science
  • Data representation
  • 🇺🇸 United States

By the Success Tutoring Teachers team · Updated · Educator review in progress · How we make our resources

Download PDF

Overview

Learning objectives

Students will…

  • Explain that computers store all data using only two states, written as 0 and 1 (bits).
  • Convert whole numbers from 0 to 31 between decimal and five-bit binary using dot cards.
  • Describe how numbers, letters and pictures can be stored as binary.

Success criteria

Students can say…

  • I can say why computers use binary.
  • I can show any number from 0 to 31 with the five dot cards and write it in binary.
  • I can change a binary number back into a normal (decimal) number.
  • I can explain the pattern in the dot cards and what a bit and a byte are.
  • I can use a code to store letters as numbers.

Curriculum focus: Computer Science — Data and Information · State standards (Texas TEKS first)

Specific curriculum codes are added once our team has checked them against the official documents. How we align resources

Many US schools also use the CSTA K–12 Computer Science Standards, which include representing data with encoding schemes such as binary.

More Texas teacher resources (TEKS and STAAR)

Key vocabulary

binary
A number system that uses only two digits, 0 and 1.
decimal
Our everyday number system, which uses ten digits, 0 to 9.
bit
Short for binary digit: a single 0 or 1. The smallest piece of data a computer stores.
byte
A group of 8 bits.
pixel
One tiny square of color in a digital picture.
data
Information, such as numbers, words, pictures and sounds.

In the glossary: binary, bit, byte, data, data, decimal, pixel

Materials & preparation

You will need

  • One large set of five dot cards for the board: cards with 16, 8, 4, 2 and 1 dots (blank backs)
  • One small set of five dot cards per pair (printed and cut out)
  • Mini whiteboards and markers
  • A 5 × 5 grid printed on paper for the pixel activity, one per student
  • The practice sheet and exit ticket (printable)

Before the lesson

  1. Make the large dot cards. Each card shows dots on the front (16, 8, 4, 2 or 1) and is blank on the back. Arrange them in a row from left to right: 16, 8, 4, 2, 1.
  2. Print and cut small sets for pairs. Check that every set has all five cards.
  3. Write the secret message for the decoding task on the board, using the code A = 1, B = 2, C = 3 and so on to Z = 26: 00010 01001 01110 00001 10010 11001. (It decodes to B I N A R Y.)
  4. Rule: a card face up (dots showing) is a 1; a card face down (blank) is a 0.

Lesson sequence

  1. 1

    Hook: on and off

    5 min

    Teacher

    • Flick the classroom light switch off and on. Ask: 'How many positions does this switch have?' (Two: on and off.)
    • Say: 'Inside every computer are billions of tiny switches that can only be on or off. We write on as 1 and off as 0. So here's the puzzle: if a computer can only say 0 or 1, how can it store the number 25, or your name, or a photo? Today you'll find out, without touching a computer.'

    Students

    • Count the positions of a switch and think about the puzzle.
  2. 2

    Introduce the dot cards

    10 min

    Teacher

    • Show the five large cards face down in a row. Turn over the right-hand card (1 dot). Ask: 'If the next card has twice as many dots, how many will it have?' (2.) Turn it over. Repeat: 4, 8, 16.
    • Ask: 'What's the pattern?' (Each card has double the dots of the card to its right.) 'What would the next card to the left have?' (32.)
    • Say: 'Face up means the card is on, and we write 1. Face down means off, and we write 0.' Turn over only the 8 and the 1 cards. Ask: 'How many dots are showing?' (9.) 'Read the cards from left to right as 0s and 1s.' (01001.) Say: 'So 9 in binary is 01001.'
    • Say: 'Each card can only be on or off. Each 0 or 1 is called a bit, short for binary digit. Five cards means five bits.'

    Students

    • Predict the number of dots on each card and read the cards as 0s and 1s.
  3. 3

    Guided conversions

    12 min

    Teacher

    • Decimal to binary. Say: 'Let's make 21. Start from the biggest card. Do we need 16? Yes, 21 is at least 16. Turn it up: 21 − 16 = 5 left. Do we need 8? No, 5 is less than 8. Leave it down. 4? Yes: 5 − 4 = 1 left. 2? No. 1? Yes: 1 − 1 = 0.' Cards: up, down, up, down, up. Say: '21 in binary is 10101.'
    • Binary to decimal. Write 11010. Say: 'Turn up the cards where there's a 1: 16, 8 and 2. Add the dots: 16 + 8 + 2 = 26.'
    • Quick fire on whiteboards. Say a number and students write it in binary: 5 (00101), 12 (01100), 17 (10001), 31 (11111). Then binary to decimal: 01111 (15), 10000 (16), 00111 (7).
    • Ask: 'What's the biggest number five cards can make?' (31, all cards up: 16 + 8 + 4 + 2 + 1.) 'The smallest?' (0, all cards down.) 'So how many different numbers is that?' (32, from 0 to 31.)

    Students

    • Convert numbers on whiteboards and check each answer by adding the dots.
  4. 4

    Pairs: patterns and the secret message

    15 min

    Teacher

    • Give each pair a small set of cards. Say: 'Count up from 0 to 10 with your cards, writing each number in binary. Look for patterns.'
    • After a few minutes, ask: 'What does the 1-dot card do as you count up?' (It flips every time: off, on, off, on.) 'What do all the odd numbers have in common?' (The last bit is 1.) 'Why?' (Every other card has an even number of dots, so only the 1 card can make a number odd.)
    • Say: 'Now decode the message on the board. Each group of five bits is a number, and each number is a letter: A = 1, B = 2, C = 3, and so on.'
    • Take answers: 00010 = 2 = B, 01001 = 9 = I, 01110 = 14 = N, 00001 = 1 = A, 10010 = 18 = R, 11001 = 25 = Y. The message is BINARY.
    • Pairs who finish write their first name in binary using the same code for a partner to decode.

    Students

    • Count to 10 in binary, describe patterns, decode the secret message and encode their own name.
  5. 5

    How computers store data

    10 min

    Teacher

    • Say: 'Computers group bits into eights. A group of 8 bits is called a byte. With 8 bits, you can make 256 different patterns, the numbers 0 to 255.'
    • Letters: 'Computers store letters as numbers too, but they use a standard code that all computers agree on, not our A = 1 code. In the most common code, capital A is stored as 65, which is 01000001 in 8 bits.' Show it: 64 + 1 = 65.
    • Pictures: 'A picture is made of tiny squares called pixels. In a black-and-white picture, each pixel can be stored as one bit: 1 for black, 0 for white.' Give out the 5 × 5 grids. Dictate the rows: 00100, 01110, 11111, 01110, 00100. Students color 1s black. Ask: 'What shape did you make?' (A diamond.)
    • Say: 'Color pictures use more bits for each pixel, to store which color it is. Sounds and videos are stored as numbers too. That's why we say computers store all data as binary.'

    Students

    • Learn what a byte is, see how a letter is stored, and decode a pixel picture.
  6. 6

    Exit ticket

    8 min

    Teacher

    • Ask: 'What is a bit?' (A single 0 or 1.) 'What is the next card after 16?' (32.)
    • Students complete the exit ticket. Sort into secure / nearly / not yet to plan the next lesson.

    Students

    • Answer the quick questions, then complete the exit ticket on their own.

Worked examples

Decimal to binary

Write 13 in five-bit binary.

  1. 16: is 13 at least 16? No. Write 0.
  2. 8: yes. 13 − 8 = 5 left. Write 1.
  3. 4: yes. 5 − 4 = 1 left. Write 1.
  4. 2: is 1 at least 2? No. Write 0.
  5. 1: yes. 1 − 1 = 0 left. Write 1.
  6. Check: 8 + 4 + 1 = 13.

13 = 01101

Binary to decimal

What decimal number is 10110?

  1. Line up the bits under the cards 16, 8, 4, 2, 1.
  2. The 1s are under 16, 4 and 2.
  3. Add those cards: 16 + 4 + 2 = 22.

10110 = 22

Decoding a letter

Using the code A = 1, B = 2, … Z = 26, decode 10011.

  1. The 1s are under 16, 2 and 1.
  2. 16 + 2 + 1 = 19.
  3. Count to the 19th letter: A(1) … S(19).

10011 = 19 = S

Practice & answers

Printable student sheet

Binary Practice

Use the cards 16, 8, 4, 2, 1. Write every binary answer with five bits. Check each answer by adding the dots.

  1. 1Write 6 in binary.
  2. 2Write 19 in binary.
  3. 3Write 24 in binary.
  4. 4Write 30 in binary.
  5. 5What decimal number is 01010?
  6. 6What decimal number is 11001?
  7. 7What decimal number is 10111?
  8. 8What decimal number is 00011?
  9. 9Is 01101 odd or even? How can you tell without working out the number?
  10. 10If you added a sixth card on the left, how many dots would it have, and what is the biggest number six cards could make?
  11. 11Using A = 1, B = 2 … Z = 26, decode: 00011 01111 00100 00101.
  12. 12Color the 1s on a 3 × 3 grid: 101, 010, 101. What shape do you get?
  13. 13Extension: How many bits are in 3 bytes?
Show answers
  1. 00110 (4 + 2 = 6)
  2. 10011 (16 + 2 + 1 = 19)
  3. 11000 (16 + 8 = 24)
  4. 11110 (16 + 8 + 4 + 2 = 30)
  5. 10 (8 + 2)
  6. 25 (16 + 8 + 1)
  7. 23 (16 + 4 + 2 + 1)
  8. 3 (2 + 1)
  9. Odd. The last bit (the 1 card) is 1. (01101 = 13.)
  10. 32 dots. The biggest number is 32 + 16 + 8 + 4 + 2 + 1 = 63.
  11. 3, 15, 4, 5 = C O D E. The word is CODE.
  12. An X (the four corners and the center are colored).
  13. 24 bits (3 × 8 = 24).

Differentiation

Offer tasks by choice or quietly by invitation — avoid labelling groups by ability in front of the class.

Additional support

  • Use the physical cards for every question and say the dots aloud while adding.
  • Start with numbers up to 15 using only the four cards 8, 4, 2 and 1.
  • Give a card strip with the place headings 16, 8, 4, 2, 1 to write the bits under.

Core task

  • Complete practice questions 1 to 12, checking every answer by adding.

Extension challenge

  • Make a six-card set (adding 32) and convert 40 (101000), 50 (110010) and 63 (111111).
  • Design a 6 × 6 pixel picture, write its binary rows, and give it to a partner to decode.
  • Count from 0 to 31 on your fingers, using each finger as one bit.
  • Complete practice question 13.

Assessment & exit ticket

Formative assessment

  • Check whiteboards during quick fire: do students start from the largest card and check by adding?
  • Use practice questions 1 to 8 to check conversions in both directions.
  • Use questions 9 and 10 to check understanding of the card pattern.
  • Sort exit tickets into secure / nearly / not yet to plan the next lesson.

Exit ticket

  1. Write 11 in binary.
  2. What decimal number is 10100?
  3. Why do computers use binary?
Show exit ticket answers
  1. 01011 (8 + 2 + 1 = 11)
  2. 20 (16 + 4)
  3. Because computers are made of tiny switches that can only be on or off, so they store everything using two states: 1 for on and 0 for off.

Common misconceptions

  • Binary 10 means ten. In binary, 10 means one 2 and no 1s, which is 2. Read binary using the card values, not as a decimal number.
  • You can turn over any cards that add up close to the number. The dots must add to exactly the number. Always check by adding.
  • Computers store letters and pictures differently from numbers. Everything is stored as numbers in binary; codes decide what each number means.

Extension

  • Binary bracelets: use two colors of beads (or colored squares on paper) to write your initials in binary with the A = 1 code.
  • Investigate: why do you think computers use two states instead of ten? (Two states, on and off, are much easier to build and to tell apart reliably.)

Free resources from other Success Tutoring sites that match this topic.

More lesson plans

Need a timer for this lesson? Open the Classroom Timer or make random groups.