TopMyGrade

Home·Daily Problem

Daily Problem·Sunday, 22 September 2024Back to today

Q6 — Calculate uncompressed image file size (5 marks)

GCSE · Computer Science · OCR · P1 — Paper 1 (J277/01): Computer systems

Question

Question: A bitmap image is 800 pixels wide and 600 pixels tall, with a colour depth of 24 bits per pixel. (a) Calculate the file size of the image in megabytes (MB). Show your working. (3) (b) State one lossy and one lossless compression technique that could reduce this file size. (2)


Mark scheme (5 marks): (a)

  • 800 × 600 × 24 = 11,520,000 bits (1)
  • ÷ 8 = 1,440,000 bytes (1)
  • ÷ 1,000,000 = 1.44 MB (1) (OCR uses decimal prefixes; accept 1.44 MB or 1.37 MiB if explained)

(b)

  • Lossy: JPEG (1)
  • Lossless: PNG / Run-Length Encoding / Huffman coding (1)

5 marks · take your time before peeking.

Sign up to try the next 30 problems

Save your streak, mark answers against the spec, and build a daily revision habit. Free during public beta — no card, no auto-renew.

Generated by TopMyGrade AI · cross-check official sources before relying on the mark-scheme phrasing.