Skip to main content
EnglandComputer ScienceSyllabus dot point

How are images and sound represented digitally?

Understand how bitmap images are represented using pixels, colour depth and resolution, how analogue sound is sampled, and the effect of sample rate, resolution and metadata on quality and file size.

A focused answer to AQA A-Level Computer Science 4.5.10 and 4.5.11, covering bitmap images with pixels, colour depth and resolution, the sampling of analogue sound, and the effect of sample rate, resolution and metadata on quality and file size.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Representing images (bitmaps)
  3. Representing sound (sampling)
  4. Worked calculations

What this dot point is asking

AQA wants you to explain how a bitmap image is represented with pixels, colour depth and resolution, how analogue sound is converted to digital by sampling, and how sample rate, sample resolution and metadata affect quality and file size, including the relevant calculations.

Representing images (bitmaps)

Higher resolution captures finer spatial detail (more pixels per object), while higher colour depth captures smoother colour gradients (more distinct shades). Both increase quality and file size, so a real format chooses a balance and usually applies compression on top of the raw pixel data. A common exam point is that doubling the resolution in both dimensions quadruples the pixel count (and so the file size), because area scales with the square of the linear dimension, whereas adding one bit of colour depth increases the size only by the ratio of the new to old bit count.

Representing sound (sampling)

Worked calculations

Exam-style practice questions

Practice questions written in the style of AQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AQA 20194 marksA bitmap image is 800 pixels wide by 600 pixels high and uses a colour depth of 24 bits. Calculate the file size of the image in mebibytes (MiB), ignoring metadata. Show your working.
Show worked answer →

Number of pixels =800×600=480000= 800 \times 600 = 480\,000. Bits per pixel =24= 24, so total bits =480000×24=11520000= 480\,000 \times 24 = 11\,520\,000 bits.

Convert to bytes: 11520000/8=144000011\,520\,000 / 8 = 1\,440\,000 bytes.

Convert to mebibytes: 1440000/10485761.371\,440\,000 / 1\,048\,576 \approx 1.37 MiB.

Markers award marks for the pixel count, multiplying by the colour depth, dividing by 8 for bytes, and dividing by 2202^{20} for MiB. Carrying an early slip correctly still earns the method marks.

AQA 20224 marksA 30 second mono sound clip is recorded at a sample rate of 44 100 Hz with a sample resolution of 16 bits. Calculate the file size in bits, then explain how the file size and quality change if the recording is made in stereo. Show your working.
Show worked answer →

File size in bits =sample rate×sample resolution×duration=44100×16×30=21168000= \text{sample rate} \times \text{sample resolution} \times \text{duration} = 44\,100 \times 16 \times 30 = 21\,168\,000 bits.

Stereo records two channels, so the file size is multiplied by 2, giving 4233600042\,336\,000 bits (twice the size). Quality, in the sense of frequency range and amplitude precision per channel, is unchanged because sample rate and resolution are the same; the benefit of stereo is spatial separation of the sound, not higher fidelity per channel.

Markers reward the correct mono calculation, doubling for stereo, and recognising that the per-channel sample rate and resolution (so the captured quality) are unchanged.

Related dot points

Sources & how we know this