Menu

Images Exam Questions

19 Edexcel GCSE Computer Science (1CP2) exam-style questions on Images (2.2 Data representation), 43 marks in all. Answer them on paper or print them, then open the mark schemes and example answers to see how each is marked.

Revise Images first

Build a paper on 2.2 Data representation
Print
1Multiple choice1 mark

Identify the smallest identifiable area of a bitmap image.

[1 mark]
  • AColour depth
  • BFile size
  • CPixel
  • DResolution
Mark scheme
  • C Pixel (1)
  • The only correct answer is C. The correct answer is pixel.
  • A is not correct because colour depth is the number of bits used to store the colour of each pixel
  • B is not correct because file size is the amount of storage an image takes up, not an area of the image
  • D is not correct because resolution is a measure of the number of pixels in an image (such as its width × height), not the smallest identifiable area
Example answers and how they were marked
Full marks1/1

C Pixel

Why: Correct option; a pixel is the smallest identifiable area of a bitmap image (1).

No marks0/1

D Resolution

Why: Resolution is a measure of the number of pixels in an image, not the smallest identifiable area; no mark.

No marks0/1

A Colour depth

Why: Colour depth is the number of bits used to store each pixel's colour, not the smallest identifiable area; no mark.

2Multiple choice1 mark

Two images are displayed at the same physical size. Image A has a higher resolution than image B.

Identify what this means.

[1 mark]
  • AImage A has more bits per pixel
  • BImage A has more colours
  • CImage A has more pixels per inch
  • DImage A uses less storage
Mark scheme
  • C Image A has more pixels per inch (1)
  • The only correct answer is C. The correct answer is more pixels per inch.
  • A is not correct because bits per pixel is the colour depth
  • B is not correct because more colours is caused by a higher colour depth, not a higher resolution
  • D is not correct because a higher resolution usually needs more storage, not less
Example answers and how they were marked
Full marks1/1

C Image A has more pixels per inch

Why: Correct option; resolution is the concentration of pixels, such as pixels per inch (1).

No marks0/1

B Image A has more colours

Why: More colours is an effect of colour depth, not resolution; no mark.

No marks0/1

A Image A has more bits per pixel

Why: Bits per pixel is the colour depth, not the resolution; no mark.

3Multiple choice1 mark

Identify the term for the number of bits used to store the colour of each pixel.

[1 mark]
  • AColour depth
  • BImage size
  • CResolution
  • DStorage size
Mark scheme
  • A Colour depth (1)
  • The only correct answer is A. The correct answer is colour depth.
  • B is not correct because image size is the width and height of the image in pixels
  • C is not correct because resolution is the number of pixels per unit length, such as pixels per inch
  • D is not correct because storage size is the amount of storage the image file uses
Example answers and how they were marked
Full marks1/1

A Colour depth

Why: Correct option; colour depth is the number of bits used to store the colour of each pixel (1).

No marks0/1

B Image size

Why: Image size is the width and height of the image in pixels, not the number of bits used per pixel; no mark.

No marks0/1

D Storage size

Why: Storage size is the amount of storage the image file uses, not the colour depth; no mark.

4Multiple choice1 mark

A bitmap image has a colour depth of 5 bits.

Identify the number of different colours that can be represented.

[1 mark]
  • A8
  • B16
  • C32
  • D64
Mark scheme
  • C 32 (1)
  • The only correct answer is C. The correct answer is 32.
  • A is not correct because 8 colours can be represented using 3 bits
  • B is not correct because 16 colours can be represented using 4 bits
  • D is not correct because 64 colours can be represented using 6 bits
Example answers and how they were marked
Full marks1/1

C 32

Why: Correct option; 2^5 = 32 different colours (1).

No marks0/1

B 16

Why: A near miss: 16 colours would need 4 bits, not 5, so the mark scheme gives it no mark.

No marks0/1

D 64

Why: 64 colours would need 6 bits, not 5; no mark.

5Short recall1 mark

Each pixel in a bitmap image is stored using a number of bits.

Define the term colour depth.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The number of bits per pixel (1)
  • The number of bits used to represent/store the colour of each pixel (1)

Allow bit depth

Do not accept the number of colours a pixel can have on its own

Do not accept the number of pixels in the image (this is the resolution/image size)

Example answers and how they were marked
Full marks1/1

The number of bits used to store the colour of one pixel.

Why: Gives the number of bits per pixel (1)

No marks0/1

The number of colours that each pixel can use.

Why: Gives the number of colours, not the number of bits; the mark scheme does not accept this on its own

No marks0/1

The number of pixels in the image.

Why: Confuses colour depth with resolution/image size, which the mark scheme does not accept

6Short recall1 mark

A bitmap image has a resolution.

State what is meant by the resolution of an image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The concentration/density of pixels in an area (1)
  • The number of pixels per inch (PPI) / pixels per unit area (1)
  • The width and height/dimensions of the image in pixels (1)

Do not accept the number of pixels in the image on its own, without dimensions or an area, e.g. 'the total number of pixels'

Do not accept colour depth / the number of bits used per pixel / the number of colours

Do not accept file size in bytes / the amount of storage the image uses / screen size / image quality

Example answers and how they were marked
Full marks1/1

The concentration of pixels in an area, such as the number of pixels per inch.

Why: Gives the density/concentration of pixels in an area, and pixels per inch (1)

No marks0/1

The number of pixels in the image.

Why: A bare total pixel count is not accepted without dimensions or an area

No marks0/1

The number of bits used to store each pixel's colour.

Why: Describes colour depth, not resolution, and colour depth is not accepted

7Short recall1 mark

A bitmap image uses one bit per pixel.

State the limitation this places on the number of colours in the image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • Only two different colours can be represented/stored (1)
  • Each pixel can only be one of two values (1)
  • The image can only be shown in black and white (1)

Allow answers that give the number of colours, e.g. two colours, 2 colours

Allow any pair of two colours, e.g. black and white, black and grey

Do not accept low resolution/poor quality/lower quality

Do not accept only one colour/can only show black

Do not accept 2 bits/2^1 without a statement about the number of colours that can be represented

Example answers and how they were marked
Full marks1/1

Only two colours can be represented, such as black and white.

Why: States that only two different colours can be represented (1)

No marks0/1

The image will have a low resolution.

Why: Confuses colour depth with resolution; low resolution is not accepted

No marks0/1

The image can only show black.

Why: One colour is all a single value can give; the limitation is that only two colours can be represented, so this is not accepted

8Short recall2 marks

Bitmap images are stored as a grid of pixels.

Define the term pixel.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • The smallest element/area of a bitmap image (1)
  • The smallest identifiable part of an image (1)
  • Stores/represents a single colour as a binary value (1)
  • Stores/represents a single colour using a number of bits/colour depth (1)

Allow 'picture element' for element/part in the first two bullets, but not on its own

Allow 'bit depth' for colour depth

Do not accept 'picture element'/'pixel' on its own

Do not accept 'a group of pixels' or 'a dot' on its own; allow 'dot' only when it is described as the smallest element/area of the image

Do not accept 'single colour' on its own for the second mark; it must be linked to a binary value/number of bits

Do not accept 'lots of coloured dots' (it contradicts a single colour)

Example answers and how they were marked
Full marks2/2

The smallest identifiable area of a bitmap image, which has one colour stored as a binary value.

Why: Smallest identifiable area (1) and single colour stored as a binary value (1)

Some marks1/2

The smallest part of a bitmap image, made of one colour.

Why: Smallest part (1); no credit for the second mark because the single colour is not linked to a binary value or number of bits

No marks0/2

A picture element made from lots of coloured dots.

Why: 'Picture element' on its own is not accepted and 'lots of coloured dots' contradicts a single colour

9Describe2 marks

A bitmap image of a logo is stored in binary.

Describe how the pixels in the logo are represented in binary, and how the number of bits available for each pixel can limit the image.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Each pixel is a single colour (1) that is stored/given as a binary value (1)
  • Each pixel is represented by a binary value (1) which gives/represents its colour (1)
  • The pixels are stored in order/rows (1) so the binary values can be read back to recreate the image (1)
  • Each pixel uses a fixed number of bits/colour depth (1) so only a limited number of colours can be represented (1)
  • The number of bits available for each pixel is fixed (1) so some colours cannot be stored/shown (1)

Allow '1s and 0s' for binary value.

For the first mark, accept a statement that a pixel is stored/represented by a binary value; do not award the first mark for 'grid of pixels' or 'a pixel is a single colour' alone unless it is linked to a binary value.

Do not accept 'a pixel is a small dot' alone.

Do not accept responses that only describe file size or resolution.

Example answers and how they were marked
Full marks2/2

Each pixel is a single colour and its colour is stored as a binary value. The number of bits for each pixel is fixed, so only a limited number of colours can be represented.

Why: Linked point (1) that each pixel is a single colour and development (1) that its colour is stored as a binary value; the colour-depth limitation is also creditworthy but the answer is capped at 2.

Some marks1/2

Each pixel is stored as a binary value.

Why: Point (1) that each pixel is stored as a binary value, but no linked development about the colour it represents.

No marks0/2

A bitmap image is made of lots of dots called pixels.

Why: No credit: 'a pixel is a small dot' alone is not accepted because it does not link a pixel to a binary value.

10Describe2 marks

The resolution of a bitmap image can be measured.

Describe what is meant by the resolution of a bitmap image.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • The number of pixels in a given area/inch (1) so a higher resolution has more pixels in the same area (1)
  • The width and height of the image in pixels (1) which gives the total number of pixels (1)
  • The concentration/density of pixels (1) which determines the detail/sharpness of the image (1)
  • A larger number of pixels across the width and height (1) so more detail can be shown (1)

Do not accept 'how clear the image is' alone.

Do not accept the number of colours.

Do not award responses about file size.

Example answers and how they were marked
Full marks2/2

The number of pixels per inch. A higher resolution means more pixels in the same area.

Why: Point (1) that resolution is the number of pixels in a given area and development (1) that a higher resolution has more pixels in the same area.

Some marks1/2

The number of pixels across the width and height of the image.

Why: Point (1) that resolution is the width and height in pixels, but no linked development about the total number of pixels or detail.

No marks0/2

How many colours the image can show.

Why: No credit: the number of colours is not accepted as the meaning of resolution.

11Describe2 marks

A bitmap image can use different colour depths.

Describe what is meant by the colour depth of a bitmap image.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • The number of bits used to store/represent each pixel (1) which determines how many colours/shades it can have (1)
  • The number of binary values/combinations available for each pixel (1) so a greater colour depth gives a wider range of colours/a larger colour palette (1)
  • More bits are stored for each pixel (1) so each pixel can be one of more possible colours/shades (1)

Do not award 'the number of colours' alone, as it does not say that colour depth is the number of bits per pixel.

Do not accept responses about image resolution or the number of pixels.

Example answers and how they were marked
Full marks2/2

The number of bits used to store each pixel; more bits means more colours can be represented.

Why: Point (1) that colour depth is the number of bits used to store each pixel and linked development (1) that more bits means more colours can be represented.

Some marks1/2

The number of bits used for each pixel.

Why: Point (1) that colour depth is the number of bits per pixel, but no linked development about the number of colours.

No marks0/2

The number of pixels across the image.

Why: No credit: this describes resolution, and responses about the number of pixels are not accepted.

12Describe2 marks

A bitmap image is stored using 2 bits for each pixel.

Describe why using 2 bits for each pixel can limit the image.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Two bits give only four possible binary values (1) so at most four colours can be represented (1)
  • Only 2^2 = 4 colours can be stored (1) so colours in the original image may be lost/changed (1)
  • There are not enough bit patterns for more than four colours (1) so the image cannot show all the colours it needs (1)
  • Each pixel has a limited set of codes (1) so similar colours may become the same colour (1)

Do not accept 'the image will be low resolution' or 'it will be poor quality' alone.

Do not award responses about file size.

Example answers and how they were marked
Full marks2/2

Two bits give only four binary values, so the image can use at most four colours.

Why: Point (1) that two bits give only four binary values and development (1) that at most four colours can be represented.

Some marks1/2

Two bits can only represent four colours.

Why: Point (1) that only four colours can be stored, but no linked development about colours being lost or changed.

No marks0/2

The image will be low resolution because there are not enough bits.

Why: No credit: 'low resolution' alone is not accepted as a limitation of using 2 bits per pixel.

13Explain2 marks

Two versions of the same bitmap image are saved. The second version has a higher colour depth.

Explain why the second version may have a larger file size.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • More binary data is stored for each pixel (1) because a higher colour depth uses more bits per pixel (1)
  • Each pixel has a longer binary code (1) so more storage is needed to hold the image (1)
  • More colours can be represented (1) so more bits are needed for each pixel (1)
  • The file contains more bits in total (1) because colour depth is the number of bits per pixel (1)

For both marks, the expansion must follow/associate with the statement.

Allow 'more bits per pixel' for one mark.

Do not accept 'more pixels' or 'higher resolution' as the reason, because changing colour depth does not change the number of pixels.

Example answers and how they were marked
Full marks2/2

The second version stores more binary data for each pixel (1) because a higher colour depth uses more bits per pixel (1).

Why: Linked point (1) and reason (1): more data per pixel because more bits per pixel.

Some marks1/2

The second version uses more bits for each pixel.

Why: One mark for identifying that more bits are stored per pixel; no linked statement about more data or file size.

No marks0/2

The second version has more pixels, so there is more data to store.

Why: A common misconception; colour depth does not change the number of pixels, so no creditworthy point is given.

14Explain2 marks

Two versions of the same photograph are displayed at the same size on a screen. Version A is 800 × 600 pixels. Version B is 1600 × 1200 pixels.

Explain why Version B can show more detail.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Version B has more pixels in the same area (1) so each pixel represents a smaller part of the image (1)
  • Version B has a higher pixel density (1) so finer detail can be represented (1)
  • The pixels in Version B are smaller (1) so more detail can be captured in the same space (1)
  • Version B has a higher resolution (1) because there are more pixels per unit of area (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'more pixels' on its own without saying same area/pixel density/smaller pixels.

Do not accept higher colour depth or more colours.

Example answers and how they were marked
Full marks2/2

Version B has more pixels in the same area (1) so each pixel represents a smaller part of the image (1).

Why: Linked point (1) and reason (1): more pixels in the same area means smaller pixels and more detail.

Some marks1/2

Version B has more pixels in the same area.

Why: One mark for the point about pixel density; the linked reason about smaller pixels or finer detail is missing.

No marks0/2

Version B has a higher colour depth, so it can display more colours.

Why: Colour depth is not the reason for more detail here; this is the common misconception that colour depth increases resolution.

15Explain2 marks

A bitmap image uses a colour depth of 8 bits. Each pixel is stored as a binary value.

Explain how the colour of a pixel is represented in a bitmap image.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Each pixel is stored as a binary value/code (1) which represents/maps to a colour (1)
  • The binary value is used to look up a colour in a palette (1) so the pixel can be displayed in that colour (1)
  • A bit pattern is assigned to each colour (1) and each pixel stores the bit pattern for its colour (1)
  • The number of bits per pixel sets how many different colour codes exist (1) so each code can represent a different colour (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'pixels are binary' or 'the image is made of 1s and 0s' without saying a pixel's colour is represented by a binary value.

Do not accept RGB values stored as denary or hexadecimal.

Example answers and how they were marked
Full marks2/2

Each pixel stores a binary value (1); this value is used to look up the pixel's colour in a palette (1).

Why: Linked point (1) and reason (1): a binary value is stored for each pixel and maps to a colour.

Some marks1/2

A bit pattern is assigned to each colour.

Why: One mark for stating that colours have bit patterns; it does not say that each pixel stores the pattern for its colour.

No marks0/2

Each pixel stores the RGB colour as denary numbers between 0 and 255.

Why: Bitmap pixels are stored in binary, not as denary values; this common misconception earns no mark.

16Explain2 marks

An image uses a colour depth of 2 bits per pixel. The original image contains 12 different colours.

Explain why the image cannot be represented accurately at this colour depth.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Only 4 colours can be represented (1) because 2 bits give 2^2 = 4 possible values (1)
  • Some of the 12 colours cannot be stored (1) so they are lost/replaced with a colour that can be represented (1)
  • The image will not match the original exactly (1) because there are fewer colour codes than the number of colours needed (1)
  • Many colours will share the same binary value (1) so the image will lose colour detail (1)

For both marks, the expansion must follow/associate with the statement.

Allow 'four colours' or '2^2'.

Do not accept 'only two colours' (confusing the number of bits with the number of values) or 'resolution is too low'.

Example answers and how they were marked
Full marks2/2

Only four colours can be represented (1) because two bits give four possible binary values (1).

Why: Linked point (1) and reason (1): 2 bits give 2^2 = 4 colour codes.

Some marks1/2

Only four colours can be represented.

Why: One mark for identifying that four colours can be represented; the linked reason about two bits giving four values is missing.

No marks0/2

Only two colours can be represented because each pixel has two bits.

Why: A common misconception: two bits give four possible values, not two, so no creditworthy point is given.

17Discuss6 marks

A school is creating a small logo to display on its website. The logo is stored as a bitmap image. Each pixel in the logo is stored as a binary value.

Discuss how the bitmap image of the logo is represented in binary.

Your answer should include:

  • pixels
  • binary values
  • the grid of pixels.
[6 marks]
Mark scheme

Indicative content

Pixels

  • A bitmap image is made up of picture elements, called pixels.
  • Each pixel is the smallest identifiable area of the image and has a single colour.
  • The logo is stored as a grid of pixels, and its width and height in pixels give its dimensions.
  • Each pixel is stored separately, so a larger grid needs more pixel values to be stored.

Binary values

  • Each pixel's colour is represented by a binary value.
  • The number of bits used for each pixel is the colour depth.
  • With n bits per pixel there are 2^n different binary values, so 2^n possible colours.
  • A black-and-white image can use one bit per pixel, with 0 for white and 1 for black.
  • More bits per pixel allow more colours to be represented in the logo.

Grid

  • The binary values are stored in order, row by row, so the computer can rebuild the grid.
  • The resolution is the number of pixels in the image, for example width × height.
  • A higher-resolution grid stores more pixels, so the logo can show more detail.
  • The image file stores the pixel values and data such as the image dimensions.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both pixels and binary values.

Do not accept resolution as the number of colours.

Example answers and how they were marked
Full marks6/6

A bitmap is a grid of pixels. Each pixel is one small area of the logo and has a single colour. The width and height of the grid are measured in pixels, so the logo's dimensions tell us how many pixels it contains. Each pixel's colour is stored as a binary value. The number of bits used for each pixel is the colour depth, and with n bits there are 2^n possible values, so 2^n possible colours. For example, 3 bits per pixel would allow 8 colours. The binary values are stored row by row so that the computer can rebuild the grid. A larger grid stores more pixel values, but it can show more detail. More bits per pixel let the logo use more colours, such as the school's colours.

Why: Covers pixels as the smallest areas of a grid (AO1), binary values with colour depth and 2^n colours (AO1), and applies these to the logo's grid and colours (AO2). Sustained and structured, so Level 3.

Some marks4/6

A bitmap is a grid of pixels. Each pixel is a small square with one colour. Each pixel is stored as a binary value. The logo needs a binary value for every pixel, so a bigger logo has more values. More bits per pixel means more colours.

Why: Gives pixels and binary values, with a simple link to the logo's size. Points are mostly independent and not developed into a full discussion, so Level 2.

Some marks1/6

A bitmap image is a grid of pixels. Resolution is the number of colours in the image. Each pixel is stored as a letter, so the logo can use any colour.

Why: One basic point: a bitmap is a grid of pixels. The rest is incorrect: resolution is not the number of colours, and pixel values are stored as binary, not letters.

18Discuss6 marks

A wildlife photographer takes a photograph for a magazine. The photograph can be printed across a full page or used as a small thumbnail on the magazine's website.

Discuss how the resolution of the photograph affects its use in the magazine and on the website.

Your answer should include:

  • what resolution means
  • the effect of resolution on the detail shown
  • the effect of resolution on the file size.
[6 marks]
Mark scheme

Indicative content

What resolution means

  • Resolution is the number of pixels in the image, or the number of pixels per inch.
  • A photograph that is 6000 × 4000 pixels has a higher resolution than one that is 600 × 400 pixels.
  • Resolution is not the same as colour depth or the number of colours.

Effect on detail

  • A higher-resolution photograph has more pixels in the same area, so it can show more detail.
  • A low-resolution photograph printed across a full page will look blocky or pixelated because each pixel is enlarged.
  • A small website thumbnail uses fewer pixels on screen, so a lower-resolution version may still look sharp.
  • A high-resolution original can be cropped and still contain enough pixels for a full-page print.

Effect on file size

  • More pixels means more binary values must be stored, so the file is larger.
  • A large file takes more storage and is slower to upload or download, which matters for visitors to the website.
  • The photographer could make a lower-resolution copy for the website and keep the high-resolution original for print.
  • File size also depends on the colour depth and the file format or compression used.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both detail and file size.

Do not accept resolution as the number of colours.

Example answers and how they were marked
Full marks6/6

Resolution is the number of pixels in the photograph, for example 6000 × 4000 pixels. A high-resolution photograph has more pixels, so it can show fine detail such as the animal's fur. This is important for the full-page magazine print because a low-resolution image would look blocky when enlarged. The small website thumbnail uses fewer pixels on screen, so a lower-resolution copy would still look sharp and would be suitable. A high-resolution file contains more pixel values, so it takes up more storage space. It would also be slower to download for people viewing the website. The photographer could keep the high-resolution original for print and make a lower-resolution copy for the website.

Why: Defines resolution accurately, links detail to the print use, links file size to storage and download for the website, and gives a sensible recommendation. Sustained application, so Level 3.

Some marks4/6

Resolution means how many pixels are in the image. A higher resolution means the photograph has more pixels, so it can show more detail. This is good for the full-page print because it will not look pixelated. A lower resolution might be enough for the small website thumbnail because it is shown smaller.

Why: Covers what resolution means and its effect on detail, with some application to print and the website. It does not discuss the effect on file size, so it is limited to Level 2.

Some marks1/6

Resolution is the number of pixels in the image. The photograph will have a higher resolution if it has more colours, so it will look sharper in the magazine. The file size is bigger when the resolution is higher, so the website will load faster.

Why: Only the definition of resolution is creditworthy. The answer wrongly links resolution to the number of colours and says a larger file will make the website load faster.

19Discuss6 marks

A handheld games console displays sprites. The console stores each pixel of a sprite using 4 bits. Designers want sprites that contain many shades of green and blue.

Discuss the limitations of using 4 bits to store each pixel of a sprite on the console.

Your answer should include:

  • the number of colours that can be represented
  • the effect on the appearance of the sprite
  • how the limitation could be managed.
[6 marks]
Mark scheme

Indicative content

Number of colours

  • 4 bits give 2^4 = 16 different binary values, so at most 16 colours can be stored for each pixel.
  • The console cannot store every shade that the designers want; colours outside the 16 must be approximated or left out.
  • Adding more bits per pixel would allow more colours, but this may not be possible on the console's hardware.

Effect on appearance

  • The sprite may show banding where a smooth change from green to blue should be.
  • A sprite that needs many shades, such as a detailed landscape, will look unrealistic or have blocks of colour.
  • Simple sprites with flat colours, such as a retro character, can still look acceptable.
  • The limitation is in the number of colours, not the number of pixels; resolution is a separate issue.

Managing the limitation

  • Designers can choose a palette of 16 colours that includes the most important greens and blues for the game.
  • They can design sprites with flat colours rather than smooth gradients.
  • They can use more bits per pixel for important sprites if the console allows it.
  • They can accept that some shades will be approximated and check that the sprite still looks clear on the console's screen.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover the number of colours and the effect on appearance.

Do not accept 4 bits give 4 colours or 8 colours.

Example answers and how they were marked
Full marks6/6

4 bits per pixel gives 2^4 = 16 different binary values, so each pixel can be only one of 16 colours. The designers want many shades of green and blue, but most of these cannot be stored exactly and must be approximated or left out. This can cause banding where a smooth change from green to blue should be, so a detailed sprite may look unrealistic. A simple sprite with flat colours could still look acceptable. The designers could choose a palette of 16 colours that includes the most important greens and blues, and design sprites with flat colours instead of gradients. Using more bits per pixel would allow more colours, but the console's hardware may not support this.

Why: Explains 2^4 = 16 colours and the limitation on shades, links this to banding and realism, and gives suitable ways to manage it in the console context. Sustained reasoning, so Level 3.

Some marks4/6

4 bits can store 16 colours. This means the sprite cannot have many colours. It might look bad if it needs lots of shades of green and blue. The designers could use fewer colours in the sprite.

Why: Correctly gives 16 colours and makes a simple link to the sprite's appearance and a way to manage it. There is little development of the effect or the management, so Level 2.

Some marks1/6

4 bits can store 16 colours. This means the sprite will have a low resolution, so it will look blocky. The designers should use a higher resolution to get more shades of green and blue.

Why: One correct point: 4 bits give 16 colours. The answer then confuses colour depth with resolution; increasing resolution would not provide more shades.

Keep practising Images

More exam questions on 2.2 Data representation

Teachers: print these as a worksheet with the mark schemes at the end, and sign your school up to set your classes activities on Images.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.