Skip to main content
EnglandComputer ScienceSyllabus dot point

How are bitmap images and sampled sound represented in binary, and what limits this representation?

Understand how bitmap images are represented in binary (pixels, resolution, colour depth), how analogue sound is represented in binary (amplitude, sample rate, bit depth, sample interval), and the limitations of binary representation when constrained by the number of available bits.

A focused answer to Edexcel GCSE Computer Science 2.2.2, 2.2.3 and 2.2.4, covering bitmap images (pixels, resolution, colour depth), sampled sound (amplitude, sample rate, bit depth, sample interval), and the limitations of binary representation.

Generated by Claude Opus 4.810 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 bitmap images
  3. Representing sound
  4. Limitations of binary representation
  5. Try this

What this dot point is asking

Edexcel wants you to explain how bitmap images are stored as binary (pixels, resolution, colour depth) and how analogue sound is captured as binary by sampling (amplitude, sample rate, bit depth, sample interval), to calculate file sizes for both, and to explain the limitations that come from having only a fixed number of bits.

Representing bitmap images

The colour depth controls the palette: with a colour depth of nn bits, each pixel can be one of 2n2^n colours. So 1 bit gives 2 colours (black and white), 8 bits give 256 colours, and 24 bits give over 16 million colours. Resolution controls the detail: more pixels capture finer detail. Both resolution and colour depth raise quality but increase file size, which is the trade-off Edexcel tests. Real image files also store metadata (data about the image, such as its width, height, colour depth and the date taken) so the file can be displayed correctly.

Representing sound

Each sample records the amplitude at that instant as a binary number, and playing the samples back in order recreates the sound. The two quality controls are the sample rate (more samples per second means the digital version follows the original wave more closely) and the bit depth (more bits per sample means the amplitude is recorded more precisely, with more possible levels, 2n2^n for nn bits). The sample interval is just the reciprocal of the sample rate: a sample rate of 8000 per second means a sample interval of 1/80001/8000 of a second.

Limitations of binary representation

This limitation is a recurring exam theme. A digital image can only ever show the colours its colour depth allows, so a 1-bit image cannot show grey. A sampled sound can only ever record the amplitude levels its bit depth allows, and only at the moments it samples, so very fast changes between samples are missed. Increasing the bits improves the match to the original but uses more storage, which is exactly why file sizes grow with quality.

Try this

Q1. Calculate the file size in bits of a 50×5050 \times 50 image with a colour depth of 4 bits. [2 marks]

  • Cue. 50×50×4=1000050 \times 50 \times 4 = 10000 bits.

Q2. State one effect of increasing the bit depth of a sound recording. [1 mark]

  • Cue. It records each sample's amplitude more precisely (higher quality) but increases the file size.

Exam-style practice questions

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

Edexcel 20234 marksA bitmap image is 64 pixels wide and 48 pixels high with a colour depth of 4 bits. Calculate the file size of the image in bytes. Show your working.
Show worked answer →

The size in bits is width times height times colour depth, then divide by 8 for bytes.

Bits: 64×48×4=1228864 \times 48 \times 4 = 12288 bits. Bytes: 12288÷8=153612288 \div 8 = 1536 bytes.

Markers reward the correct formula (width times height times colour depth), the correct bit total (12288), and the conversion to 1536 bytes by dividing by 8. Forgetting the divide-by-8 or using the wrong colour depth are the usual errors.

Edexcel 20224 marksA 10-second sound clip is sampled at 8000 samples per second with a bit depth of 8 bits. Calculate the file size in kilobytes (1 kilobyte = 1000 bytes), and state one effect of increasing the sample rate.
Show worked answer →

Size in bits is sample rate times bit depth times duration, then divide by 8 for bytes.

Bits: 8000×8×10=6400008000 \times 8 \times 10 = 640000 bits. Bytes: 640000÷8=80000640000 \div 8 = 80000 bytes. Kilobytes: 80000÷1000=8080000 \div 1000 = 80 kilobytes.

Increasing the sample rate takes more samples per second, so the recording is a closer match to the original analogue sound (higher quality), but it increases the file size.

Markers reward the formula, the correct arithmetic to 80 kB, and a valid effect of a higher sample rate (better quality but larger file).

Related dot points

Sources & how we know this