← IGCSE Computer Science Paper 1

Effect of resolution and colour depth on image quality and file size

Raising either one improves image quality (sharper detail, smoother colours) but stores more bits, so the file size gets larger.

Understanding Effect of resolution and colour depth on image quality and file size in IGCSE Computer Science Paper 1

What it does: Few pixels mean each one is large and visible, giving blocky edges. The file is small because few pixels are stored. With only a few colours available, a smooth sky or shadow splits into stripes. Fewer bits per pixel keeps the file small. More pixels means more pixel data to store, so the file size increases. Sharper detail is the benefit. With few pixels, each pixel must cover a bigger area when enlarged, so you can see the individual blocks. Sample rate is for sound. Image detail comes from the number of pixels, which is the resolution.

Common mistakes: A low-resolution image has few pixels, so it looks pixelated and blocky, not sharp. Line 3 should be look = 'pixelated'. A low colour depth uses fewer bits per pixel, so the file is small, not large. Line 4 should be file_size = 'small'.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 43–58) and word search (Modules 28–58).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
A student increases the resolution of an image from 400 x 300 to 1600 x 1200 pixels. What happens?
The image has more pixels, so it shows sharper detail and the file gets smallerThe image has more pixels, so it shows sharper detail and the file gets larger
Matches
Higher resolution = fewer pixels = sharper image
↓
Higher resolution means MORE pixels, not fewer. More pixels give sharper detail but also a larger file.
Applying
Meanings
Term
higher resolution and colour depth
Meaning
Raising either one improves image quality (sharper detail, smoother colours) but stores more bits, so the file size gets larger.
Practice
IF resolution OR colour_depth INCREASES THEN
Testing
Gaps
IF resolution oldResolution THEN
Check Answer
Spots
2resolution = 'low'
3look = 'sharp'

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Arctic Fox' badge — Tundra Tracker, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. A student increases the resolution of an image from 400 x 300 to 1600 x 1200 pixels. What happens?
A. The image has more pixels, so it shows sharper detail and the file gets larger ✓
B. The image has more pixels, so it shows sharper detail and the file gets smaller
More pixels means more pixel data to store, so the file size increases. Sharper detail is the benefit.
2. Which image is most likely to look pixelated (blocky) when enlarged?
A. A low-resolution image with few pixels ✓
B. A high-resolution image with many pixels
With few pixels, each pixel must cover a bigger area when enlarged, so you can see the individual blocks.
3. An image uses a very low colour depth, and the sky shows visible stripes of colour instead of a smooth blend. What is this effect called?
A. Sampling
B. Banding ✓
Banding happens when there are too few bits per pixel to show smooth changes in shade, so the colours step in bands.
4. What is the effect of increasing the colour depth from 8 bits to 24 bits per pixel?
A. Smoother colours, but a larger file ✓
B. Smoother colours, and a smaller file
More bits per pixel allow more colours and smoother shading, but every pixel stores more bits so the file is larger.
5. Which statement about image quality and file size is correct?
A. Higher quality usually means a smaller file size
B. Higher quality usually means a larger file size ✓
Better quality needs more data (more pixels or more bits per pixel), so the file takes more storage space.

Match the Pairs

resolution: 640x480 -> 1920x1080 → More pixels in the image, so it shows sharper detail but the file is larger
colour depth: 4 bits -> 24 bits → More bits per pixel, so colours look smoother but the file is larger
A low-resolution image has too few pixels, so it looks blocky and pixelated when enlarged → resolution = 32x32 -> pixelated, small file
A low colour depth has too few colours, so smooth gradients show visible bands of colour (banding) → colour depth = 2 bits -> banding, small file
Higher resolution = fewer pixels = sharper image → Higher resolution means MORE pixels, not fewer. More pixels give sharper detail but also a larger file.
Increase colour depth -> same quality, smaller file → Increasing colour depth gives smoother colours and uses more bits per pixel, so the file gets larger, not smaller.

Key Term

higher resolution and colour depth
Raising either one improves image quality (sharper detail, smoother colours) but stores more bits, so the file size gets larger.

Fill in the Blanks

1. IF resolution > oldResolution THEN OUTPUT "Sharper detail, bigger file" ENDIF
Hint: Type the comparison operator that checks the resolution has been raised above the old value.
2. IF colourDepth > oldDepth THEN fileSize ← fileSize + extraBits ENDIF
Hint: Type the arithmetic operator that makes the file size grow by the extra bits needed for smoother colours.
3. IF colourDepth < 4 THEN OUTPUT "Banding appears" ENDIF
Hint: Type the comparison operator that checks for a low colour depth, which causes banding.
4. IF lowResolution = TRUE THEN OUTPUT "Pixelated image" ENDIF
Hint: Type the Boolean value that shows the image has low resolution and will look pixelated.
5. IF highResolution AND highDepth THEN OUTPUT "Sharp, smooth, larger file" ENDIF
Hint: Type the logical operator that needs both high resolution and high colour depth to be true.

Spot the Error

Question 1
A image = 'photo'
B resolution = 'low'
C look = 'sharp'
D print(image, look)
Line C — A low-resolution image has few pixels, so it looks pixelated and blocky, not sharp. Line 3 should be look = 'pixelated'.
Question 2
A depth = 'low'
B colours = 'few'
C sky = 'has banding'
D file_size = 'large'
Line D — A low colour depth uses fewer bits per pixel, so the file is small, not large. Line 4 should be file_size = 'small'.
Question 3
A pixels = 'many'
B detail = 'sharp'
C print('Sharper and smaller')
Line C — More pixels give sharper detail but store more bits, so the file gets bigger, not smaller. Line 3 should say the file is bigger.
Question 4
A depth = 'high'
B gradients = 'banded'
C file_size = 'larger'
Line B — A high colour depth has more possible colours, so gradients look smooth. Banding happens with a low colour depth. Line 2 should be gradients = 'smooth'.
Question 5
A if resolution = 'high':
B detail = 'sharp'
C else:
D detail = 'pixelated'
Line A — A single = assigns a value. To compare in an if statement you need ==. Line 1 should be if resolution == 'high':.

Student with a class code? Join your class →