1. Foundations
Data Representation — Quiz
Test your understanding of data representation with 5 practice questions.
Practice Questions
Question 1
For a monochrome image of resolution 1280×720 pixels with a bit depth of 4 bits per pixel, what is the uncompressed file size in kilobytes?
Question 2
For a stereo audio clip of duration 8 seconds sampled at 48 kHz with 24‐bit quantisation, what is the total uncompressed file size in megabytes (MB)?
Question 3
In JPEG compression, what is the primary role of the Discrete Cosine Transform (DCT) applied to 8×8 pixel blocks?
Question 4
A dataset has 1000 records, each with 5 fields averaging 10 characters per field. Estimate the storage overhead percentage when stored as JSON (adds ~25 bytes of syntax per record) compared to CSV.
Question 5
Given symbol frequencies A:30, B:10, C:5, D:5, a Huffman tree assigns code lengths 1,2,3,3 bits respectively. What is the average bits per symbol?
