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:
| Color | Binary value |
|---|---|
| Crimson | 1100 |
| Teal | 0011 |
| Indigo | 1001 |
| Emerald | 0110 |
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.
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.