1.01 Number Systems and Binary Conversion
1. What is it?
A number system is a way of writing numbers using a fixed set of digits. The system you use every day is denary (also called decimal): it has ten digits, 0 to 9, so it is base 10. Computers use binary: it has only two digits, 0 and 1, so it is base 2. A third system, hexadecimal (base 16), is used by people as a short way to write binary (see topic 1.05).
Binary — a number system that uses only two digits (0 and 1) and is base 2. Each digit is called a bit (binary digit).
Denary — the base-10 number system that humans use, with the digits 0 to 9.
Register — a very small, very fast storage location inside the CPU that holds a fixed number of bits, for example an 8-bit register holds exactly 8 bits.
2. Why do computers use binary?
Every computer is built from millions of tiny electronic switches called transistors. A switch has only two reliable states: on and off. We write on as 1 and off as 0. It is much easier and far more reliable to tell two states apart (voltage present / voltage absent) than ten different voltage levels, which would be confused by electrical noise. Everything a computer stores or processes — numbers, text, pictures, sound, video, programs — is therefore turned into patterns of 1s and 0s.
3. Place value: how a binary number is worth what it is worth
In denary each column is worth ten times the one to its right (1, 10, 100, 1000). In binary each column is worth two times the one to its right. An 8-bit number has these place values:
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
The bit on the far left is the most significant bit (MSB) because it is worth the most; the bit on the far right is the least significant bit (LSB). Binary numbers are normally written in groups of four bits (nibbles) to make them readable: 1001 1100.
4. Converting binary to denary
- Write the place values above the bits.
- Add the place values that have a 1 underneath.
- Ignore the place values that have a 0.
Convert 10110011 to denary.
128 + 32 + 16 + 2 + 1 = 179.
Convert 00101101: 32 + 8 + 4 + 1 = 45.
5. Converting denary to binary
There are two accepted methods. Use whichever you make fewer mistakes with, and always write your working.
Method A — subtract place values (fastest for 8-bit numbers)
Start at 128. If the place value fits into what is left, write 1 and subtract it; otherwise write 0.
Convert 156.
128 fits (156 − 128 = 28) → 1
64 does not fit → 0
32 does not fit → 0
16 fits (28 − 16 = 12) → 1
8 fits (12 − 8 = 4) → 1
4 fits (4 − 4 = 0) → 1
2 → 0, 1 → 0
Answer: 1001 1100
Method B — repeated division by 2
Divide by 2 again and again, writing the remainder each time; the binary number is the remainders read from the bottom up.
156 ÷ 2 = 78 r 0, 78 ÷ 2 = 39 r 0, 39 ÷ 2 = 19 r 1, 19 ÷ 2 = 9 r 1, 9 ÷ 2 = 4 r 1, 4 ÷ 2 = 2 r 0, 2 ÷ 2 = 1 r 0, 1 ÷ 2 = 0 r 1.
Read upwards: 10011100. ✔ (same answer as Method A)
An 8-bit register always holds 8 bits. The number 14 is 0000 1110, not 1110. Leading zeros are needed to fill the register and the mark is usually lost without them.
6. How many bits are needed? What is the biggest number?
With n bits you can make 2n different patterns, so the values run from 0 up to 2n − 1.
| Bits | Different values | Largest unsigned denary value |
|---|---|---|
| 4 | 16 | 15 |
| 8 | 256 | 255 |
| 12 | 4 096 | 4 095 |
| 16 | 65 536 | 65 535 |
What is the least number of bits needed to store 301?
8 bits only reaches 255, which is too small. 9 bits reaches 29 − 1 = 511, which is enough.
Answer: 9 bits.
The largest denary number in a 12-bit register = 212 − 1 = 4 095.
7. Try the converter
8. Real-world context
- A calculator or car-park machine stores each number you type in a binary register before it calculates.
- A cost such as $14.98 can be stored as two 8-bit registers, one for the dollars (14 =
0000 1110) and one for the cents (98 =0110 0010). - Every pixel, every letter and every sound sample eventually ends up as a binary number like these.
9. How Cambridge tests it
- Convert denary to 8-bit (or 12-bit) binary and back, usually 2–3 numbers for 2–3 marks: one mark per correct number.
- State/Explain what is meant by binary: “a number system that uses only two digits, 0 and 1 / base 2” (2 marks: two digits and base 2).
- Explain why data is converted to binary: computers are made of switches/transistors with two states; only binary can be processed by the CPU; all data (text, images, sound) must be in binary to be stored and processed.
Check your answer by converting it back. If 234 → 1110 1010 then 128 + 64 + 32 + 8 + 2 = 234 ✔. It takes ten seconds and catches most errors.
10. Check yourself
Convert 59 to 8-bit binary.
0011 1011.What is the denary value of 1100 1001?
What is the largest denary number that can be stored in a 10-bit register?
Give two reasons why computers use binary rather than denary.
Past-paper questions on this topic (34 questions · 61 marks)
Real Cambridge 0478 Paper 1 questions (June 2026, Nov 2023–25, Mar and May/Jun 2023) with the published mark points, plus a few clearly labelled mirror-practice questions. Try each one first, then reveal the mark scheme and tick the points you earned.
1 mark Past paper · June 2026 Paper 1/11 · Q1(c) Data is converted to binary to be stored by a computer. Tick (✓) one box to show the correct st…
Tick (✓) one box to show the correct statement about why data is converted to binary for storing in a computer.
3 marks Past paper · June 2026 Paper 1/12 · Q6(a) A student photographs a flower and the app searches for similar images. Explain how the image i…
2 marks Past paper · June 2026 Paper 1/13 · Q8(a) A security keypad requires a 3-digit denary number, converted to an 8-bit binary number. Conver…
Convert the denary numbers 071 and 200 to 8-bit binary.
2 marks Past paper · June 2026 Paper 1/13 · Q8(b) Give the denary numbers that were input for the binary numbers 00101001 and 10110100.
3 marks Past paper · June 2026 Paper 1/13 · Q8(c) A microprocessor is used to find out whether a user has input the correct 3-digit denary number…
2 marks Past paper · Nov 2023 Paper 1/11 · Q2(b) The parking cost of $14.98 is displayed. Give the 8-bit binary numbers stored in the registers.
2 marks Past paper · Nov 2023 Paper 1/11 · Q2(d) Explain why data input into the payment machine needs to be converted to binary.
1 mark Past paper · Nov 2023 Paper 1/12 · Q2(a) A register stores the binary number 11100011. Give the denary number for the binary number stor…
Give the denary number for the binary number stored in the register.
2 marks Past paper · Nov 2023 Paper 1/13 · Q2(a) Humans use a denary number system and computers use a binary number system. Explain what is mea…
Explain what is meant by a binary number system.
3 marks Past paper · Nov 2023 Paper 1/13 · Q2(b) Convert the denary numbers 14, 59 and 234 to binary.
1 mark Past paper · Nov 2024 Paper 1/11 · Q6(c) The washing machine's error codes are stored as binary, too long to display. State how the code…
3 marks Past paper · Nov 2024 Paper 1/12 · Q3(b) Convert the denary numbers 15, 180 and 235 to binary.
1 mark Past paper · Nov 2024 Paper 1/12 · Q3(d)(ii) State what effect this will have on the binary integer.
2 marks Past paper · Nov 2024 Paper 1/13 · Q1(c)(i) All data is converted to binary to be processed. Calculate the binary number for the denary num…
Calculate the binary number for the denary number 175. Show your working.
4 marks Past paper · Nov 2024 Paper 1/13 · Q1(d) Add the two binary integers 11100011 and 11001100 using binary addition. Show all your working.…
1 mark Past paper · Nov 2025 Paper 1/11 · Q1(a) A student has an electronic calculator with 8-bit registers. State the highest denary number th…
State the highest denary number that could be stored in a single 8-bit register.
2 marks Past paper · Nov 2025 Paper 1/11 · Q1(b) The student types in the denary numbers 23 and 168. Give the 8-bit binary numbers stored in the…
1 mark Past paper · Nov 2025 Paper 1/11 · Q1(c) The result of a calculation stored in a register is the binary number 00001011. Give the denary…
1 mark Past paper · Nov 2025 Paper 1/11 · Q1(d) Another result stored in a register is 01000010. Give the denary number displayed.
1 mark Past paper · Nov 2025 Paper 1/12 · Q1(b) Give the largest denary number that can be stored in a 12-bit register.
1 mark Past paper · Nov 2025 Paper 1/13 · Q1(b)(i) The owner enters a denary number, converted to binary and stored in a register. Give the binary…
Give the binary number stored when denary 24 is entered.
1 mark Past paper · Nov 2025 Paper 1/13 · Q1(b)(ii) Give the binary number stored when denary 101 is entered.
1 mark Past paper · Nov 2025 Paper 1/13 · Q1(b)(iii) The binary number 00010011 is stored. Give the denary number entered.
1 mark Past paper · Nov 2025 Paper 1/13 · Q1(b)(iv) The binary number 00100010 is stored. Give the denary number entered.
1 mark Past paper · Nov 2025 Paper 1/13 · Q1(c)(ii) Give the binary number stored to display error code E3.
1 mark Past paper · Nov 2025 Paper 1/13 · Q5(b) An image file is 1000 bytes. Give the size in bits.
1 mark Past paper · May/June 2023 0478/11 · 1(a) Tick (3) one box to show which statement about the binary number system is correct. A It is a b…
3 marks Past paper · May/June 2023 0478/11 · 1(b) Denary numbers are converted to binary numbers to be processed by a computer. Convert these thr…
2 marks Past paper · May/June 2023 0478/11 · 1(c) Binary numbers are stored in registers. Negative denary numbers can be represented as binary us…
1 mark Past paper · May/June 2023 0478/13 · 1(a) Convert the binary number to denary.
4 marks Past paper · May/June 2023 0478/13 · 1(d) Add the two 8-bit binary numbers 11101110 and 00110001 using binary addition. Give your answer …
1 mark Past paper · May/June 2023 0478/13 · 1(e) The denary number 301 needs to be stored. Calculate the least number of bits that can be used t…
3 marks Mirror practice · Day 14 — Thu · Q3(b) Convert the denary numbers 46, 132 and 250 to binary.
2 marks Mirror practice · Day 17 — Tue · Q1(b) Denary numbers are typed into the calculator and converted to binary numbers before being store…
Watson-style mirror questions with worked solutions (3 questions · 16 marks)
Mirror questions for this topic (Watson section 1.1, Number systems). Each keeps the structure, command words and mark allocation of a question in the Watson textbook, but uses a different scenario, different numbers and new wording, and each label says which Watson question it mirrors. Answer on paper first, then open the worked solution: it shows the method step by step and the marks. Levels: Foundation = recall and one step; Standard = typical exam question; Challenge = multi-step or extended.
6 marks Standard A race clock uses six digits to show hours, minutes and seconds. An 8-bit register stores …
A race clock uses six digits to show hours, minutes and seconds. An 8-bit register stores each pair of digits.
(a) The clock is stopped at 04 : 17 : 39. Write the 8-bit binary number stored for the hours, the minutes and the seconds. [3]
(b) The clock is started and stopped again. The three registers now hold:
| Hours | Minutes | Seconds |
|---|---|---|
0000 1001 | 0010 1100 | 0001 0111 |
Write the time now shown on the clock. [3]
Each pair of digits is converted as one denary number and stored in its own register.
(a) Hours 4 = 0000 0100. Minutes 17 = 16 + 1 = 0001 0001. Seconds 39 = 32 + 4 + 2 + 1 = 0010 0111.
(b) Add the place values in each register:
- Hours
0000 1001= 8 + 1 = 09 - Minutes
0010 1100= 32 + 8 + 4 = 44 - Seconds
0001 0111= 16 + 4 + 2 + 1 = 23
Answer: 09 : 44 : 23.
Check the values make sense for a clock (minutes and seconds can be no more than 59).
5 marks Foundation (a) Convert these binary numbers to denary: (i) 0110 1011 (ii) 1001 0110 (iii) 0011 1001. …
(a) Convert these binary numbers to denary: (i) 0110 1011 (ii) 1001 0110 (iii) 0011 1001. [3]
(b) Convert these denary numbers to 8-bit binary: (i) 37 (ii) 201. [2]
(a) Add the place values that hold a 1.
- (i) 64 + 32 + 8 + 2 + 1 = 107
- (ii) 128 + 16 + 4 + 2 = 150
- (iii) 32 + 16 + 8 + 1 = 57
(b) Subtract place values from 128 downwards.
- (i) 37 = 32 + 4 + 1 →
0010 0101 - (ii) 201 = 128 + 64 + 8 + 1 →
1100 1001
Convert your answer back to check it; it takes ten seconds.
5 marks Standard Binary coded decimal (BCD) stores each denary digit as its own 4-bit group. (a) Show 463 i…
Binary coded decimal (BCD) stores each denary digit as its own 4-bit group.
(a) Show 463 in BCD. [2]
(b) Give the denary number stored as BCD 0100 0111 0010. [1]
(c) State one use of BCD and explain why it is suited to that use. [2]
(a) Convert each digit separately: 4 = 0100, 6 = 0110, 3 = 0011 → 0100 0110 0011.
(b) Read each nibble: 0100 = 4, 0111 = 7, 0010 = 2 → 472.
(c) Digital displays such as a clock or till display. Each denary digit is held in its own group, so it can be converted quickly to a display digit without converting the whole number.
Practise this topic in the Workbook Companion
Topic review: Topic 10 · Number Systems
Papers that test this topic most (57 workbook questions across 29 sets):
Number Systems · 6 QNov 25 P1 (0478/13) · 6 QNov 25 P1 (0478/11) · 4 QP1 Mirror 1 · 3 QP1 Mirror 7 · 3 QJune 26 P1 (0478/13) · 3 Q