Binary bits
Switch bits on and off to make numbers the way a computer stores them, then read them, count with them and spell a word.
The activity
Place value, in tens and in twos
In 472, the 4 is worth four hundreds, the 7 seven tens and the 2 two ones. Each place is worth ten times the place to its right.
| Worth | 100 | 10 | 1 |
|---|---|---|---|
| Digit | 4 | 7 | 2 |
400 + 70 + 2 = 472
Binary works the same way, but each place is worth two times the place to its right, and each digit is 0 or 1: a card is off or on. Each one is a bit, short for binary digit. Eight bits make a byte, enough for any number from 0 to 255.
| Worth | 8 | 4 | 2 | 1 |
|---|---|---|---|---|
| Digit | 1 | 1 | 0 | 1 |
8 + 4 + 1 = 13
number 1 of 8
Make 6.
Every card is off, so the total is 0. Flip a card to switch it on.
Number 1 of 8
What number do these bits make?
Add up the values of the cards that are on.
The bits are 0 0 0 0 0 1 0 1, from the card worth 128 down to the card worth 1.
Type the number, then check it.
Count from 0 to 31 with five cards.
Add one at a time and watch which cards flip. The pattern is the same one you use to count in tens.
All five cards are off: 0. Press Add one.
Counted so far
- 00000 = 0
letter 1 of 4
Spell CODE, letter 1: C
Computers store letters as numbers. In the ASCII code, capital A is 65 and each letter after it is one more. C is 2 letters after A, so its code is 65 + 2 = 67. Make 67.
Every card is off, so the total is 0. Flip a card to switch it on.
What you'll practise
- Place value in base 2
- Converting binary and decimal
- How computers store numbers and letters
For teachers and parents
Start with the place-value tables at the top: binary works like ones, tens and hundreds, with twos instead of tens. Make the number rewards the fewest flips, which is the same method learners use to convert by hand. Count up shows why each card doubles.
In the curriculum
Bits and bytes, converting between binary and decimal, and character codes such as ASCII are Grade 10 Term 1 topics in CAPS Information Technology; the Coding and Robotics CAPS for Grades 4 to 6, which schools are phasing in from 2026 to 2032, has Grade 6 learners decode a simple message in a code such as Morse code or binary. Source (PDF)
Part of Teachist's Robotics and programming program