📝 Data compression in multimedia (9 MCQs)
📖 From Data Communication and Networks • 28. Multimedia • 9 questions available
What is Data compression in multimedia?
Data compression in multimedia is the process of reducing the size of audio, video, image, or text files by removing redundancy or less important information so that they can be stored more efficiently and transmitted faster over networks without exceeding bandwidth limits.
📝 All Data compression in multimedia MCQs
Q1. If a lossless compression algorithm reduces a file size by 40%, what is the resulting compression ratio?
📖 Explanation: A 40% reduction means the compressed file is 60% of the original. The compression ratio is calculated as original size divided by compressed size, yielding . Therefore, option B correctly represents the ratio.
Q2. Increasing the quantization step size in JPEG compression typically causes which combination of changes in image quality and file size?
📖 Explanation: Larger quantization steps coarsen the representation of frequency coefficients, discarding more detail. This reduces perceptual quality, producing a blurrier image, while simultaneously decreasing the amount of data needed to store the coefficients, resulting in a smaller file size. Hence, lower quality with smaller size is correct.
Q3. Codec X achieves a PSNR of 35 dB at 2 Mbps, while Codec Y achieves 33 dB at 1.5 Mbps. For a streaming service limited to 3 Mbps, which codec provides the best trade‑off between quality and bandwidth?
📖 Explanation: Codec X delivers higher visual quality (35 dB) and still operates well below the 3 Mbps ceiling, using 2 Mbps. Codec Y, although lower bitrate, provides lower quality (33 dB) and does not offer a significant advantage. Therefore, Codec X offers the superior balance of quality and bandwidth within the constraint.
Q4. Which statement correctly distinguishes lossless from lossy compression?
📖 Explanation: Lossless techniques preserve every original bit by eliminating only statistical redundancy, allowing exact reconstruction. Lossy methods intentionally discard information that is less noticeable to human perception, achieving higher compression at the cost of irreversible loss. The correct distinction is captured by option C.
Q5. When choosing between MP3 and FLAC for archiving music, which factor is most important for preserving audio fidelity?
📖 Explanation: FLAC stores audio without any loss of information, guaranteeing that the archived file is identical to the original source. MP3 compresses by removing detail, which degrades fidelity. Therefore, the decisive factor for preserving fidelity is FLAC’s lossless nature, as stated in option D.
Q6. Considering dictionary‑based methods, how does Huffman coding differ from LZW in terms of dictionary construction and typical data suitability?
📖 Explanation: Huffman creates a fixed prefix tree derived from symbol frequencies, assigning shorter codes to more common symbols. LZW, by contrast, constructs a dictionary on‑the‑fly, adding new substrings as data are processed, which excels with repetitive sequences typical in text. Option D accurately describes these differences.
Q7. Applying Run‑Length Encoding (RLE) to a monochrome bitmap with long runs of identical pixels primarily reduces which type of redundancy?
📖 Explanation: RLE compresses sequences of identical adjacent pixels by representing the run length and value once, eliminating repeated storage of the same pixel. This targets spatial redundancy, where neighboring pixels share the same color, making option C the correct answer.
Q8. How does the Discrete Cosine Transform (DCT) enable efficient lossy compression in video codecs?
📖 Explanation: The DCT converts spatial pixel values into frequency coefficients, concentrating most of the image energy into a small set of low‑frequency components. High‑frequency coefficients, which contribute less to perceived quality, can be heavily quantized or discarded, achieving compression while preserving visual fidelity. This description matches option B.
Q9. What does the term 'compression ratio' represent in data compression?
📖 Explanation: Compression ratio quantifies how much a file has been reduced by dividing the original uncompressed size by the compressed size. A ratio greater than one indicates reduction, while a ratio less than one would imply expansion. Option B correctly defines this relationship.