A digital image is stored in a file.
The table below shows the colours used in the image and their corresponding binary representations:
| Colour | Binary value |
|---|---|
| Yellow | 0001 |
| Cyan | 0100 |
| Magenta | 1010 |
| Orange | 0011 |
The metadata file states that the image has a width of 4 pixels and a height of 3 pixels.
The binary data stored for the pixel grid of the image is:
000100010100001110100011000101000100101010100011
The image data starts at the top-left of the image and is processed left-to-right, row-by-row.
Complete the table below by writing the name of the colour that each pixel will display.
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.