Skip to content

Course home

Data storage

Data storage

EasyMedium
1234567891011121314
Question 8

An icon is saved as a digital image file.

The lookup table below maps each color used in the icon to its unique binary representation:

ColorBinary value
Crimson1100
Teal0011
Indigo1001
Emerald0110

The metadata associated with the file indicates that the icon has a width of 3 pixels and a height of 4 pixels.

The binary data representing the pixel grid is stored sequentially as:

110001100011100110011100001101100110110010010011

The pixels are stored starting from the top-left, processing left-to-right, row-by-row.

Complete the table below to show the name of the color displayed by each pixel in the grid.

[2]
Markscheme

Data storage Questions

  1. GCSE
  2. /Computer Science
  3. /Data storage

41 exam-style questions on OCR GCSE Computer Science Data storage. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank