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.
Practise OCR GCSE Computer Science Data storage with exam-style questions for GCSE Computer Science. 42 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.