Data Representation · 3 question types
Past paper frequency (2018 to 2024)
This topic accounts for approximately 5% of your exam marks.
ASCII/Unicode, sound sampling and pixel/colour depth appear regularly as 2 to 4 mark questions.
The standard exam formula for the size of an uncompressed bitmap is:
file size (bits) = image width (pixels) × image height (pixels) × colour depth (bits per pixel)
To convert to bytes, divide by 8.
Example — A bitmap image has a resolution of 800 × 600 pixels and a colour depth of 24 bits per pixel. Calculate the file size in bytes.
Example — An image is captured at 500 × 500 pixels with 24-bit colour depth, then re-captured at 1000 × 1000 pixels with the same colour depth. What happens to the file size?
The lesson: doubling each side multiplies the file size by 4 (because both width and height contribute to the pixel count).
Common exam answer: "The image has a higher quality / sharper image, and the file size is larger." Two marks if both halves are clear.
Example — An image of 1024 × 768 is stored first with 8-bit colour and then with 24-bit colour. Compare the two file sizes.