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:
| System | Base | Digits used | Common use |
|---|---|---|---|
| Denary (Decimal) | 10 | 0–9 | Everyday numbers |
| Binary | 2 | 0, 1 | Internal computer storage |
| Hexadecimal | 16 | 0–9, A–F | Memory addresses, colour codes, debugging |
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).
Each position in a binary number has a place value that is a power of 2, increasing from right to left:
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 2⁷ | 2⁶ | 2⁵ | 2⁴ | 2³ | 2² | 2¹ | 2⁰ |
Example: Convert binary 10110101 to denary:
128+0+32+16+0+4+0+1 = 181
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 uses 16 symbols. Letters A–F represent values 10–15:
| Hex | Denary | Binary |
|---|---|---|
| 0–9 | 0–9 | 0000–1001 |
| A | 10 | 1010 |
| B | 11 | 1011 |
| C | 12 | 1100 |
| D | 13 | 1101 |
| E | 14 | 1110 |
| F | 15 | 1111 |
Each hex digit maps directly to exactly 4 binary digits (a nibble):
3F → 3 = 0011, F = 1111 → 00111111
A7 → A = 1010, 7 = 0111 → 10100111
Split binary into groups of 4 from the right, then convert each group:
11010110 → 1101 0110 → D 6 → D6
Multiply each digit by its positional value (16⁰, 16¹, 16², …):
2B = (2 × 16) + (11 × 1) = 32 + 11 = 43
#FF5733), MAC addresses, error codes| Unit | Symbol | Exact value |
|---|---|---|
| Kilobyte | KB | 2¹⁰ = 1,024 bytes |
| Megabyte | MB | 2²⁰ = 1,048,576 bytes |
| Gigabyte | GB | 2³⁰ ≈ 1.07 billion bytes |
| Terabyte | TB | 2⁴⁰ ≈ 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).
0111 not 1118 questions · instantly marked · Cambridge 9618 standard
| Term | Definition |
|---|
10 questions · 10 marks · 10 minutes