📄 Paper 1 · 1.1 Data Representation
✓ Free lesson
1.1.1 Number Systems
Cambridge 9618 · International A Level Computer Science · ~15 min read
Notes
Video
Slides
Worksheet
Quiz

Number Bases

Computers store and process all data using binary (base 2), using only the digits 0 and 1. However, Cambridge 9618 requires fluency in three number systems:

SystemBaseDigits usedCommon use
Denary (Decimal)100–9Everyday numbers
Binary20, 1Internal computer storage
Hexadecimal160–9, A–FMemory addresses, colour codes, debugging

Binary (Base 2)

Each binary digit is called a bit. Groups of 8 bits form a byte. Larger units include kilobyte (KB = 210 bytes), megabyte (MB = 220 bytes), gigabyte (GB = 230 bytes).

Place Values in Binary

Each position in a binary number has a place value that is a power of 2, increasing from right to left:

1286432168421
2⁷2⁶2⁵2⁴2⁰

Example: Convert binary 10110101 to denary:
128+0+32+16+0+4+0+1 = 181

Denary to Binary Conversion

Method: repeatedly divide by 2, recording remainders from bottom to top.

Example: Convert 181 to binary:
181÷2=90 r1, 90÷2=45 r0, 45÷2=22 r1, 22÷2=11 r0, 11÷2=5 r1, 5÷2=2 r1, 2÷2=1 r0, 1÷2=0 r1
Reading remainders bottom to top: 10110101

Hexadecimal (Base 16)

Hexadecimal uses 16 symbols. Letters A–F represent values 10–15:

HexDenaryBinary
0–90–90000–1001
A101010
B111011
C121100
D131101
E141110
F151111

Hex to Binary Conversion

Each hex digit maps directly to exactly 4 binary digits (a nibble):

3F → 3 = 0011, F = 1111 → 00111111

A7 → A = 1010, 7 = 0111 → 10100111

Binary to Hex Conversion

Split binary into groups of 4 from the right, then convert each group:

11010110 → 1101 0110 → D 6 → D6

Hex to Denary

Multiply each digit by its positional value (16⁰, 16¹, 16², …):
2B = (2 × 16) + (11 × 1) = 32 + 11 = 43

Why Use Hexadecimal?

  • Much shorter than binary — 2 hex digits = 8 binary digits
  • Easier to read and remember than long binary strings
  • Used in memory addresses, colour codes (e.g. #FF5733), MAC addresses, error codes
  • Each hex digit corresponds to exactly 4 bits — easy conversion

Units of Storage

UnitSymbolExact value
KilobyteKB2¹⁰ = 1,024 bytes
MegabyteMB2²⁰ = 1,048,576 bytes
GigabyteGB2³⁰ ≈ 1.07 billion bytes
TerabyteTB2⁴⁰ ≈ 1.1 trillion bytes

Note: Cambridge 9618 uses the IEC binary definition (1 KB = 1024 bytes), not the SI decimal definition (1 KB = 1000 bytes).

Exam tip: Show all working in conversions — Cambridge awards method marks even if the final answer is wrong. For hex↔binary, always split into groups of exactly 4 bits. Check your binary→denary by adding place values explicitly. Remember: 2 hex digits = 1 byte = 8 bits.
⚠️ Common Mistakes
  • Splitting binary into groups of 3 instead of 4 when converting to hex
  • Forgetting leading zeros in groups — 0111 not 111
  • Using 1 KB = 1000 bytes (SI) instead of 1024 bytes (Cambridge uses IEC binary)
  • Mixing up 2⁰ = 1 (not 0) as the rightmost place value
  • Not showing working — Cambridge may award method marks even for incorrect final answers
✅ Notes completed!
Video coming soon

What's covered in this video

  • • Binary, denary and hexadecimal number systems explained with examples
  • • Step-by-step conversion methods between all three bases
  • • Why hexadecimal is used in computing and its practical applications
  • • Units of storage: bits, bytes, KB, MB, GB, TB and the Cambridge standard
Click slide or press arrow keys to navigate

Worksheet — 1.1.1 Number Systems

8 questions · instantly marked · Cambridge 9618 standard

Q1Convert the binary number 10110101 to denary. Show your working.[2]
✅ Mark scheme
Mark scheme
Working shown: 128+0+32+16+0+4+0+1 [1]; Answer: 181 [1]. Award 1 mark if working correct but arithmetic error in final answer.
Q2Convert the denary number 219 to binary. Show your method.[2]
✅ Mark scheme
Mark scheme
Method shown (repeated division by 2 OR place values): 11011011 [1 for correct working process, 1 for correct answer]. Accept place-value method: 128+64+0+16+8+0+2+1=219.
Q3Convert the hexadecimal number B4 to denary. Show your working.[2]
✅ Mark scheme
Mark scheme
(11 × 16) + (4 × 1) [1 for method]; = 176 + 4 = 180 [1 for correct answer].
Q4Convert the binary number 11001010 to hexadecimal. Show your working.[2]
✅ Mark scheme
Mark scheme
Split into groups of 4: 1100 | 1010 [1]; 1100=C, 1010=A → CA [1].
Q5Convert the hexadecimal number F3 to binary.[2]
✅ Mark scheme
Mark scheme
F=1111 [1]; 3=0011 [1]; Answer: 11110011. Must show 4 bits per digit — 11 for F would lose a mark.
Q6State two reasons why hexadecimal is preferred over binary when displaying memory addresses.[2]
✅ Mark scheme
Mark scheme
Any two: Shorter/more compact than binary — fewer characters to represent the same value [1]; Easier to read/remember for humans [1]; Quick conversion to binary (each hex digit = 4 bits) [1]; Less prone to transcription errors [1].
Q7A file has a size of 3.5 MB. Calculate its size in bytes, showing your working. (Use 1 MB = 2²⁰ bytes.)[2]
✅ Mark scheme
Mark scheme
3.5 × 2²⁰ [1]; = 3.5 × 1,048,576 = 3,670,016 bytes [1]. Accept 3,670,016 or equivalent.
Q8Explain why computers use binary internally rather than denary, despite denary being more familiar to humans.[3]
✅ Mark scheme
Mark scheme
Electronic circuits can only reliably represent two states [1]; these two states (high/low voltage, on/off) map directly to 0 and 1 [1]; binary arithmetic is simpler to implement in electronic logic gates [1]; ten distinct voltage levels for denary would be difficult to distinguish reliably [1]. Max 3 marks.
Topic Quiz
Question 1 of 15
You scored
out of 15
Card 1 of 11
Click to reveal definition
🎉
All cards reviewed!
TermDefinition
🎯

Mini Test — 1.1.1 Number Systems

10 questions · 10 marks · 10 minutes

First lesson
1 of 82 · Cambridge 9618
1.1.2 Binary Arithmetic →