Skip to content
Marlbridge

Study Guides

IGCSE Computer Science: Data Representation (Cambridge 0478)

Guide to Topic 1 of Cambridge IGCSE Computer Science 0478 (2026-2028): binary, hexadecimal, two's complement, text, sound and images, storage and compression.

Level
IGCSE
Topic
Data representation
Updated

Aligned to Cambridge IGCSE Computer Science (0478), 2026-2028. Official specification .

Syllabus points this page covers

0478

  • 1.1 Number systems
  • 1.2 Text, sound and images
  • 1.3 Data storage and compression

This page covers all 3 subtopics in topic 1, Data representation.

Found an error? Report a correction.

This guide covers Topic 1 Data representation, for Cambridge IGCSE Computer Science 0478, 2026–2028 series (Version 6, published September 2026). 0478 is not tiered — all candidates study the same content — and this is the plain A*-G qualification, distinct from the numeric-grade Cambridge IGCSE (9-1) Computer Science 0984 sibling syllabus.

Where this fits in 0478

Data representation is the first of six topics grouped under “Computer systems” (the other five are Data transmission, Hardware, Software, The internet and its uses, and Automated and emerging technologies), before the syllabus moves on to “Algorithms, programming and logic.” It establishes that everything a computer processes — numbers, text, sound, images — is ultimately stored as binary, which the Hardware and Programming topics later take for granted when discussing registers, data types and file handling.

Syllabus coverage

CAMBRIDGE IGCSE COMPUTER SCIENCE 0478 — TOPIC 1 DATA REPRESENTATION

  • 1.1 Number systems — understanding how and why computers use binary to represent all data; the denary, binary and hexadecimal number systems and converting between positive values in each (maximum 16-bit binary length); why hexadecimal is a useful, more human-readable alternative to binary; adding two positive 8-bit binary integers and understanding overflow; performing a logical binary shift on a positive 8-bit integer and its effect; using two’s complement to represent positive and negative 8-bit binary integers
  • 1.2 Text, sound and images — how and why a computer represents text using character sets, including ASCII and Unicode; how and why a computer represents sound, including the effects of sample rate and sample resolution on accuracy and file size; how and why a computer represents an image, including the effects of resolution and colour depth on file size and quality
  • 1.3 Data storage and compression — how data storage is measured, from bit and nibble up to kibibyte, mebibyte, gibibyte, tebibyte, pebibyte and exbibyte, and the relationship between each denomination (4 bits in a nibble, 8 bits in a byte, then 1024 of each unit in the next from the kibibyte upwards); calculating the file size of an image or sound file from given information; the purpose of and need for data compression; how lossy and lossless compression methods work, e.g. run length encoding (RLE)

How to approach it

Binary-to-hex and binary-to-denary conversions are graded almost purely on procedural accuracy, so timed practice converting in both directions — including negative numbers via two’s complement — closes most of the gap here; overflow and logical shifts are the two ideas within 1.1 most often tested with a “what happens if…” style question rather than a plain conversion. For file-size calculations in 1.3, the most common error is using 1000 instead of 1024 as the conversion factor between storage units, which the syllabus explicitly requires — get in the habit of writing “×1024” before every unit conversion rather than relying on memory under exam pressure. Conceptually, tie 1.2 and 1.3 together: resolution, sample rate and colour depth all trade fidelity for file size, and questions frequently ask candidates to explain that trade-off in words rather than calculate it, so practise articulating it, not just computing it.

Worked examples

Why binary? Computers are built from transistors and other components that reliably hold only two stable states — on and off, or high and low voltage. Binary maps directly onto those two states, which makes circuits simple, cheap to manufacture, and far less vulnerable to errors from small voltage fluctuations than a system using more than two states would be.

Binary addition and overflow. Add 11010010 and 01100011 in an 8-bit register.

  11010010   (210)
+ 01100011   (99)
-----------
  100110101  (309, needing 9 bits)

The result needs 9 bits, but the register only holds 8, so the extra (leftmost) bit is lost and the stored answer is wrong — this is overflow. Always check whether the sum of the two denary values exceeds 255 (the maximum an unsigned 8-bit register can hold) before concluding overflow has occurred.

Image file size. An image is 800 × 600 pixels with a colour depth of 24 bits. Find its file size in mebibytes (MiB).

total bits = 800 x 600 x 24 = 11 520 000 bits
bytes      = 11 520 000 / 8 = 1 440 000 bytes
kibibytes  = 1 440 000 / 1024 = 1406.25 KiB
mebibytes  = 1406.25 / 1024   = 1.37 MiB

Halving the colour depth to 12 bits would halve the file size, but it would also reduce the number of available colours from about 16.7 million to only 4096 — a trade-off between fidelity and storage that recurs throughout this topic, whether the variable being reduced is colour depth, resolution, or sample rate.

Sound sampling. The amplitude of an analogue sound wave is measured at regular intervals, and each measurement is stored as a binary number. Increasing the sample rate means more measurements are taken per second, so the digital version follows the shape of the original wave more closely and sound quality improves — but the file size increases proportionally, since more samples must be stored. Increasing the sample resolution (bits per sample) instead allows each individual measurement to be recorded more precisely, again at the cost of a larger file.

Adding 11010010 (210) and 01100011 (99) gives 100110101 (309), which needs 9 bits. The 8-bit register keeps only 00110101 (53), so the answer is wrong. Overflow occurs because 309 is more than 255.
Adding 210 and 99 in an 8-bit register overflows because 309 needs 9 bits.
Two graphs show the same wave sampled 6 times and 18 times per cycle. More samples follow the wave more closely but mean three times as much data to store. Example numbers are illustrative.
More samples per second give a closer copy of the sound but a bigger file.
Two graphs show the same wave stored with 2 bits (4 levels) and 4 bits (16 levels) per sample. More bits per sample record each measurement more precisely but make the file bigger. Example numbers are illustrative.
More bits per sample record each measurement more precisely at the cost of a larger file.
An 800 by 600 image with 24 bits per pixel is 11,520,000 bits. Dividing by 8 gives 1,440,000 bytes, then by 1024 twice gives 1.37 MiB. Halving the colour depth to 12 bits halves the size but leaves only 4096 colours.
The 800 x 600, 24-bit image is 1.37 MiB; halving the colour depth halves the size.

Frequently asked questions

Why do computers use binary? Computers are built from components such as transistors that reliably hold only two stable states, on and off. Binary maps directly onto those states, making circuits simple, cheap and less vulnerable to errors from small voltage changes.

When does overflow happen in 8-bit binary addition? Overflow happens when the result needs more than 8 bits, for example when the sum of two unsigned values exceeds 255. The extra leftmost bit is lost and the stored answer is wrong.

Is Cambridge IGCSE Computer Science 0478 tiered? No. 0478 is not tiered, so all candidates study the same content. It is graded A* to G, unlike the 9 to 1 graded 0984 syllabus.

What is the most common mistake in IGCSE file size calculations? Using 1000 instead of 1024 as the conversion factor between storage units. The syllabus requires 1024 from the kibibyte upwards.

Official syllabus

Cambridge IGCSE Computer Science 0478 syllabus for 2026, 2027 and 2028 (Version 6, September 2026) — cambridgeinternational.org.

Place values 128 to 1 sit above the bits of 11010010. Bits that are 1 add up to 210. The byte splits into two nibbles, 1101 (13, hex D) and 0010 (2, hex 2), giving D2.
The byte 11010010 is 210 in denary and D2 in hexadecimal.
A nibble is 4 bits and a byte is 8 bits. From the kibibyte upwards each unit is 1024 times the one below it, up to the exbibyte. Bar length is on a log scale.
Each storage unit from the kibibyte up is 1024 times the previous one, not 1000.

Related resources

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.