Community resourceWorksheet
J277 1.2.4 Images
Part 2 of 5 · J277 1.2.4-1.2.5 · Data representation
Bitmap images as a grid of pixels, and the two properties examiners most often see confused.
Students will:
- explain how pixels and binary codes represent an image
- distinguish resolution from colour depth
- explain how each affects quality and file size
- define metadata and give suitable examples
- calculate the size of an uncompressed image file
Inside: 4 text sections, 2 multiple-choice activities, 5 completion activities, 4 written answers. 18 marks. Suggested teaching time: 40–60 minutes. 1 diagram.
Includes a teacher guide with suggested sections, timings and common misconceptions.
Series: J277 1.2.4-1.2.5 · Data representation, part 2 of 5.
Shared by Coding PathwayVerified teacher
- 15 cells
- About 45 minutes
- CC BY-SA 4.0
- Shared 17 Aug 2026
- Updated 27 Oct 2026
Preview
The whole resource, exactly as a class sees it. Answers and marking are held back.
Images
A bitmap is a grid of pixels. Each pixel is one small picture element with one colour at a time. Its colour is represented by a binary code. Read the six-pixel example before using these ideas in a larger image.
- pixels
- colour
- binary code
- sound sample
Describe how a bitmap image is represented in a computer.
Students type their answer here.
1. Two different changes
| Characteristic | Meaning | Possible effect of increasing it |
|---|---|---|
| Resolution | Number of pixels, often width × height. | More detail can be captured; more pixel data must be stored. |
| Colour depth | Bits used for each pixel's colour. | More possible colours and smoother colour changes; more bits must be stored per pixel. |
Colour depth does not add pixels. Resolution does not change bits per pixel.
With 4 bits per pixel there are 2⁴ = 16 possible colours. With 7 bits there are 128; with 8 bits there are 256. Choose the smallest depth that provides enough codes.
An image is captured using more bits per pixel but the same width and height. What changes?
- AThe image automatically has more pixels
- BThere are more possible colours, with more data per pixel
- CEach pixel must show several colours at once
- DThe uncompressed pixel data must become smaller
2. Information about the image
Metadata is data about the image or file. It may include dimensions, colour depth, date/time created, file type, creator or location.
The binary colour codes for individual pixels are image data, not metadata. Some metadata helps software interpret that data.
An image file already includes its width and height. State two other items of image metadata.
Students type their answer here.
3. Calculate uncompressed pixel data
Bits = width × height × colour depth. Divide by 8 for bytes, then by 1,000 for KB when that conversion is stated.
For a 100 × 80 image at 4 bits per pixel: 100 × 80 × 4 = 32,000 bits, then 32,000 ÷ 8 = 4,000 bytes.
Now use 200 × 150 pixels at 8 bits per pixel. Ignore metadata and headers; use 1 KB = 1,000 bytes.
Show your method for calculating the 200 × 150 image's pixel-data size in KB.
Students type their answer here.
A camera captures a scene at 400 × 300 pixels instead of 200 × 150 pixels. Explain why the new capture may record more detail.
Students type their answer here.
Which item is metadata rather than an individual pixel's image data?
- AThe binary colour code for pixel 1
- BThe binary colour code for pixel 2
- CThe date the image was created
- DThe ordered colour code of every pixel