M4-L05 Image File Sizes
Core: 0 / 22
Reference Sheet · Practise Questions · Homework Year 11 GCSE Computer Science Y11-W12-01 AQA 8525/2

Image file sizes and representation choices

Practise calculating bitmap file sizes, choosing minimum colour depths, analysing scaling effects, and answering genuine AQA exam questions. Try each question first, check your numeric values, then reveal the step-by-step model response and mark scheme to learn how examiners award every mark.

1 byte = 8 bits 1 KB = 1,000 bytes Accept equivalent valid working Follow-through credit applies when subsequent conversion method is clear
Homework core (Q1–Q8, E1–E3) 0%
0 / 22 marks

Tick mark scheme boxes inside revealed solutions

Warm-up practice (W1–W3) 0 / 10
0 / 10 marks

Suggested optional warm-up marks

Combined total Optional
0 / 32 marks

22 core marks + 10 suggested warm-up marks

Solutions revealed 14 items
0 / 14

Step-by-step or full reveals currently open

Progress saved locally

Reference Sheet & Interactive Formula Explorer

Page 1 · Core rules, worked example, colour depth & scaling

Remember & Core Formulae

  • 1 byte = 8 bits  |  1 KB = 1,000 bytes AQA GCSE Computer Science uses decimal kilobytes (1,000 bytes per KB).
  • Pixel (picture element) The smallest individual element of a bitmap image. Each pixel stores a colour value.
  • Size in bits = W × H × D Width (pixels) × Height (pixels) × Colour depth (bits per pixel).
  • Size in bytes = (W × H × D) ÷ 8 Divide total bits by 8 to convert to bytes; then divide bytes by 1,000 for KB.

Six-Step Calculation Method

  1. Identify W and H in pixels and D in bits per pixel.
  2. Find pixel count: W × H.
  3. Multiply by D to find total bits.
  4. Divide total bits by 8 to find bytes.
  5. Divide bytes by 1,000 to find KB when requested.
  6. Check units, and compare every requirement in the brief.

Interactive Worked Example & Scaling Simulator

Start with the worksheet's worked example (160 × 120 at 8-bit) or the 5-colour icon (40 × 25), or test your own dimensions and scaling changes.

Stage Calculation Result
Pixels 160 × 120 19,200 pixels
Bits 19,200 × 8 153,600 bits
Bytes 153,600 ÷ 8 19,200 bytes
KB 19,200 ÷ 1,000 19.2 KB

Worked example: 160 × 120 pixels at 8 bits per pixel = 19,200 bytes (19.2 KB).

Finding Minimum Colour Depth from Number of Colours

If the number of colours is given instead of colour depth (bits per pixel), pick the smallest bit depth whose max colours is at least the count needed. E.g. for 5 colours, 2 bits supply only 4 codes, while 3 bits supply 8 codes — so minimum depth is 3 bits. A 40 × 25 icon at this depth needs 40 × 25 × 3 = 3,000 bits, or 375 bytes.

Max colours (2D) 2 4 8 16 32 64 128 256
Bits per pixel (D) 1 2 3 4 5 6 7 8

Effect of Scaling Factors on Pixel-Data Size

Change at fixed other factors Effect on pixel-data size
Double width only × 2
Double width and height × 4
Halve width and height × 1/4
Double colour depth × 2
Halve colour depth × 1/2

Warm-up Questions (W1–W3)

Page 2 · 10 suggested marks · 1 byte = 8 bits, 1 KB = 1,000 bytes

Calculate and check units W1

W1 Warm-up · Units & conversions

Bitmap size in bits, bytes and KB

3 marks 0 / 3

A bitmap measures 80 × 50 pixels at 4 bits per pixel. Calculate its pixel-data size in bits, bytes and KB. Show your working.

Your attempt (try before revealing) W = 80, H = 50, D = 4

Compare changes and choose depth W2 – W3

W2 Warm-up · Scaling factors

Effect of doubling depth vs doubling both dimensions

4 marks 0 / 4

A 100 × 60 bitmap at 8 bits per pixel has 6 KB of pixel data. Separately work out when:

  1. depth rises to 16 bits;
  2. dimensions rise to 200 × 120 at the original 8-bit depth.

State the factor and new data size in each case.

Your attempt (assess each change separately from 6 KB)
a) Depth rises 8 → 16 bits
b) Dimensions rise 100×60 → 200×120 (8-bit)
W3 Warm-up · Minimum colour depth

Five-colour icon: minimum depth, justification & byte size

3 marks 0 / 3

A 40 × 25 icon uses five colours. Find its minimum colour depth and minimum pixel-data size in bytes. Show why the depth is sufficient.

Your attempt 40 × 25, 5 colours

Calculate and Repair (Q1–Q4)

Pages 3–4 · 12 original marks (counts towards 22-mark core)
Q1 Worksheet · Core calculation

Calculate pixel-data size in bits, bytes and KB

3 original marks 0 / 3

A bitmap measures 240 × 100 pixels at 8 bits per pixel. Calculate its pixel-data size in bits, bytes and KB. Show working.

Your attempt W = 240, H = 100, D = 8
Q2 Worksheet · Error repair

Spot and repair a pupil's missing conversion step

3 original marks 0 / 3

A bitmap measures 300 × 200 pixels at 4 bits per pixel. A pupil calculates 300 × 200 × 4 = 240,000, then writes 240 KB. Identify the missing step and give the correct size in bytes and KB.

Your attempt Pupil got 240,000 → wrote 240 KB
Q3 Worksheet · Scaling comparisons

Compare three separate changes from a 120 KB baseline

3 original marks 0 / 3

An image measures 400 × 300 pixels at 8 bits per pixel. Its pixel-data size is 120 KB. Consider each change separately. Give the new size and factor compared with 120 KB. (One mark per complete case.)

  1. Width doubles to 800, height and depth stay the same.
  2. Width doubles to 800 and height doubles to 600, depth stays the same.
  3. Depth falls to 4 bits, dimensions stay the same.
Your attempt (each mark requires BOTH factor and new size) Baseline = 120 KB
a) Width doubles to 800 only
b) Width doubles (800) & height doubles (600)
c) Depth falls 8 → 4 bits only
Q4 Worksheet · Representation choice

Select the badge representation that meets every brief constraint

3 original marks 0 / 3

A badge must be at least 128 × 128 pixels, represent 12 colours and use at most 10 KB of pixel data. Choose A, B or C and explain why each rejected choice fails the brief.

Choice Dimensions Depth Pixel data
A 128 × 128 4 bits 8.192 KB
B 128 × 128 8 bits 16.384 KB
C 64 × 64 4 bits 2.048 KB
Your attempt Brief: ≥128×128 · ≥12 colours · ≤10 KB

Genuine Pixel and Depth Questions (Q5–Q8)

Pages 4–5 · AQA GCSE Computer Science 8525/2, June 2025 · 5 official marks

For these tasks, 1 byte = 8 bits and 1 KB = 1,000 bytes. Source: AQA GCSE Computer Science 8525/2, June 2025 final mark scheme, p. 9.

Q5 AQA June 2025 Q8.1

Define the term pixel

1 official mark 0 / 1

AQA June 2025 Q8.1: Define the term pixel.

Your attempt
Q6 AQA June 2025 Q8.2

Count total pixels in Figure 2

1 official mark 0 / 1

Figure 2 shows a bitmap image that uses two colours.

Figure 2 (AQA June 2025 Q8.2 & Q8.3). Hover or tap any cell to inspect its pixel position.

Inspect a cell to see row & colour

State the number of pixels in the bitmap image in Figure 2.

Your attempt
Q7 AQA June 2025 Q8.3

Minimum colour depth for Figure 2

1 official mark 0 / 1

AQA June 2025 Q8.3: State the minimum colour depth required to represent each pixel in the image in Figure 2.

Your attempt Figure 2 uses 2 colours
Q8 AQA June 2025 Q8.5

Minimum file size in bits for a 1000-pixel, 4-colour image

2 official marks 0 / 2

A different bitmap image is made up of 1000 pixels and contains four colours. Calculate the minimum file size of the image in bits. Show your working.

Your attempt 1,000 pixels · 4 colours → bits

Diagnostic Questions (E1–E3)

Page 6 · 5 diagnostic marks (counts towards 22-mark core)
E1 Diagnostic · Full conversion chain

Calculate pixel-data size in KB from 60 × 40 at 4-bit

3 diagnostic marks 0 / 3

A bitmap measures 60 × 40 pixels at 4 bits per pixel. Calculate its pixel-data size in KB. Show working.

Your attempt W = 60, H = 40, D = 4
E2 Diagnostic · Scaling concept

Factor increase when both dimensions double

1 mark 0 / 1

Both dimensions double while depth stays the same. By what factor does pixel-data size increase?

Your attempt
E3 Diagnostic · Misconception check

Effect of dropping colour depth on pixel count

1 mark 0 / 1

Colour depth drops from 8 to 4 bits while dimensions stay the same. What happens to the pixel count?

Your attempt Read the exact variable asked about!