Fun computer science · Classes 6 to 9
Binary numbers: the language of computers
A computer has only switches that are on or off, so it counts with just two digits. Guess first, then flip the bits yourself to see how numbers are built.
1. Flip the bits
Each box is one bit. Tap a box to flip it between 0 and 1 and watch the number it makes. First make a prediction.
2. Decimal to binary by halving
Keep halving the number and write down each remainder. Read the remainders from the bottom to the top.
3. Adding in binary
There are only four little facts: 0+0=0, 0+1=1, 1+0=1 and 1+1=10 (write 0, carry 1). Try a sum.
Remember in one minute
- Binary place values from the right: 1, 2, 4, 8, 16, 32, 64, 128. A binary number is the sum of the place values that have a 1.
- 8 bits = 1 byte. n bits store 2^n different values, the largest being 2^n − 1.
- To convert decimal to binary, halve repeatedly and read the remainders from bottom to top.
- Binary addition: 0+0=0, 0+1=1, 1+1=10 (write 0, carry 1). Hexadecimal uses 16 digits 0–9 and A–F.
Practice now: 3 levels, worked answers, progress tracker →
This is a practice aid made by BodhiScore, not a textbook or an official board resource. Your school’s textbook decides the exact syllabus and the way answers are written. Nothing on this page is saved or sent anywhere. This is a practice aid, not a substitute for your school textbook. These are standard computing facts; where a value depends on a convention (such as 1 KB = 1024 bytes) the question says which one is used.