Question bank › GCSE › GCSE Computer Science › Fundamentals of data representation

Representing images (bitmaps, colour depth, file size)

10 questions44 marksabout 55 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Grade 6–75 marks

A bitmap image is 40 pixels wide and 30 pixels high. It has a colour depth of 4 bits.

(a) Calculate the file size of the image in bytes. Ignore any metadata. Show your working. [3]

(b) State how many different colours can be used in the image. [1]

(c) The colour depth is increased to 8 bits. State the effect on the file size. [1]

2Grade 1–33 marks

Bitmap images are made up of pixels.

(a) State what is meant by a pixel. [1]

(b) State what is meant by the colour depth of an image. [1]

(c) A bitmap image has a colour depth of 1 bit. State how many different colours this image can contain. [1]

3Grade 1–34 marks

The diagram shows a black-and-white bitmap image that is 6 pixels wide and 4 pixels high. Each pixel is stored using 1 bit: a black pixel is stored as 1 and a white pixel as 0.

(a) Write down the binary that represents Row 1 of the image. [1]

(b) Write down the binary that represents Row 2 of the image. [1]

(c) Calculate the size of the image in bits. Ignore any metadata. [1]

(d) The image is changed so that it is 6 pixels wide and 8 pixels high. State what happens to the size of the image. [1]

123456Row 1Row 2Row 3Row 4
Stuck on Representing images (bitmaps, colour depth, file size)?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Grade 4–55 marks

A small bitmap image is 4 pixels wide and 3 pixels high. Each pixel can be one of four colours. The image is shown in the diagram, with each pixel labelled with its colour.

The colours are stored using the following binary codes:

ColourCode
White (W)00
Red (R)01
Green (G)10
Blue (B)11

(a) State the colour depth of this image. [1]

(b) Write down the binary that represents Row 1 of the image. [2]

(c) Calculate the size of the whole image in bytes. Ignore any metadata. Show your working. [2]

RRWBGWWBGGBB1234Row 1Row 2Row 3
5Grade 4–54 marks

A photograph is stored as a bitmap image. The image is 800 pixels wide and 600 pixels high and uses a colour depth of 24 bits.

(a) Calculate the size of the image in kilobytes. Ignore any metadata. Show your working. [3]

(b) The image file saved on the computer is slightly larger than the size calculated in part (a). Give one reason for this. [1]

6Grade 4–54 marks

The colour depth of a bitmap image determines how many different colours it can contain.

(a) An image has a colour depth of 6 bits. Calculate the number of different colours that can be used in the image. [1]

(b) A different image needs to use exactly 8 different colours. State the minimum colour depth needed. [1]

(c) A designer wants an image to be able to contain 300 different colours. Calculate the minimum colour depth needed and justify your answer. [2]

7Grade 6–74 marks

Two bitmap images are stored on a computer. Neither file contains any metadata.

  • Image A is 200 pixels wide and 100 pixels high with a colour depth of 8 bits.
  • Image B is 100 pixels wide and 100 pixels high with a colour depth of 16 bits.

(a) A student says that Image A must be larger than Image B because it contains more pixels. Show, using calculations, whether the student is correct. [3]

(b) Explain one advantage that Image B has over Image A. [1]

8Grade 6–74 marks

A bitmap image is 160 pixels wide and 120 pixels high. The pixel data takes up 57 600 bytes. The file contains no metadata.

(a) Calculate the colour depth of the image. Show your working. [3]

(b) Calculate the number of different colours that could be used in this image. Give your answer as a power of 2. [1]

9Grade 6–75 marks

A website allows users to upload a profile picture. The upload limit is 2 MB (2 000 000 bytes). A user's camera can save bitmap images using three different settings. None of the files contains metadata.

SettingWidth (pixels)Height (pixels)Colour depth (bits)
P10008008
Q160012008
R120090016

(a) Calculate the size, in bytes, of an image saved using setting R. [2]

(b) State which setting(s) produce an image that could be uploaded to the website. Justify your answer with calculations. [2]

(c) The user doubles both the width and the height of setting P, keeping the colour depth the same. State the effect this has on the file size. [1]

10Grade 8–96 marks

A digital camera stores each photograph as a bitmap image that is 4000 pixels wide and 3000 pixels high with a colour depth of 24 bits. The camera has an 8 GB memory card.

(a) Calculate the size of one photograph in megabytes. Ignore any metadata. Show your working. [3]

(b) Calculate the maximum number of photographs that could be stored on the memory card. [1]

(c) The camera manufacturer wants to let users store more photographs on the card without changing the width or height of the images. Describe one change the manufacturer could make and explain one disadvantage of this change. [2]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session