Data Representation · 3 question types
Past paper frequency (2018 to 2024)
This topic accounts for approximately 5% of your exam marks.
ASCII/Unicode, sound sampling and pixel/colour depth appear regularly as 2 to 4 mark questions.
Sound in the real world is an analogue signal: a continuous wave of air pressure varying in time. A microphone turns the pressure into a continuous voltage. But a computer can only store digital values (discrete binary numbers), so the analogue signal has to be sampled before it can be stored.
The process is called A/D conversion (or A2D):
Two parameters control the quality of the digital recording: sample rate and sample resolution.

Sample rate is the number of samples taken per second, measured in hertz (Hz).
1 Hz means one sample per second. 1 kHz means 1000 samples per second.
Common sample rates:
The higher the sample rate, the more closely the digital version follows the original analogue wave, and the higher the maximum frequency that can be captured.
Sample resolution (also called bit depth) is how many bits are allocated to record one sample.
With n bits per sample, there are 2ⁿ different amplitude levels that each sample can be rounded to:
A higher sample resolution means each sample is closer to the true amplitude of the original wave, so the recording sounds cleaner.
| Parameter | If increased | Effect on quality | Effect on file size |
|---|---|---|---|
| Sample rate | More samples per second | Higher; captures higher frequencies | Larger |
| Sample resolution | More bits per sample | Higher; finer amplitude detail | Larger |
Both improve quality but both also increase file size. Audio engineers choose the lowest values that give acceptable quality for the use case (phone calls can get away with 8 kHz; concert recordings need 44.1 kHz or higher).