📝 Image compression and formats (26 MCQs)
📖 From Data Communication and Networks • 28. Multimedia • 26 questions available
What is Image compression and formats?
Image compression and formats involve applying algorithms like JPEG for lossy photographic compression or PNG and GIF for lossless graphics to reduce pixel data redundancy while maintaining visual quality, enabling efficient storage and web delivery through standardized container formats that balance resolution, color depth, and file size for various multimedia use cases.
📝 All Image compression and formats MCQs
Q1. Which of the following best defines multimedia as described in the passage?
📖 Explanation: Multimedia, as outlined, combines several digital media types—text, images, audio, and video—into an integrated, interactive format. This definition captures the essence of the passage, emphasizing digital generation, storage, and transmission, whereas the other options describe only subsets or unrelated concepts.
Q2. If an image file is compressed using a lossless algorithm, what is the most likely outcome on the original image data?
📖 Explanation: Lossless compression guarantees that every bit of the original data can be perfectly recovered after decompression. No visual information is discarded, so the image after decompression is identical to the original, unlike lossy methods that discard details for smaller size.
Q3. Applying a higher compression ratio to a JPEG image will most likely result in which effect?
📖 Explanation: Increasing the compression ratio forces the encoder to discard more high‑frequency information, which reduces the file size but introduces noticeable artifacts such as blocking or ringing. The image does not gain resolution or color accuracy; instead, quality degrades as compression becomes more aggressive.
Q4. When choosing a format for archiving scientific images, which factor is most critical compared to streaming video?
📖 Explanation: Scientific archives often require exact replication of original data for future analysis, making lossless preservation paramount. While streaming video values low bandwidth and real‑time decoding, archival integrity outweighs those concerns, so the ability to store the image without any loss of information is the decisive factor.
Q5. If network bandwidth is limited, which strategy best ensures continuous playback of a multimedia stream?
📖 Explanation: When bandwidth cannot accommodate the original data rate, applying a higher compression reduces the amount of data transmitted per unit time, allowing the stream to continue without buffering. Using uncompressed video or increasing frame rate would exacerbate bandwidth demands, while adding audio channels does not address the core issue.
Q6. Which principle explains why JPEG uses the Discrete Cosine Transform (DCT) in compression?
📖 Explanation: The DCT converts spatial pixel values into frequency coefficients, concentrating most of the signal energy into a few low‑frequency components. This energy compaction enables efficient quantization and removal of less important high‑frequency data, which is the fundamental reason JPEG adopts the DCT for effective compression.
Q7. Between PNG and JPEG, which format typically yields larger files for the same image dimensions?
📖 Explanation: PNG employs lossless compression that retains every pixel, resulting in larger file sizes compared to JPEG’s lossy approach, which discards perceptually less important information. Consequently, for identical dimensions and similar content, PNG files are generally larger, especially when the image contains many colors or fine detail.
Q8. What does the term 'quality of service' (QoS) refer to in multimedia transmission?
📖 Explanation: QoS describes performance metrics that a network must meet to deliver multimedia smoothly, including limits on latency, sufficient bandwidth, jitter, and acceptable error rates. These guarantees ensure that audio and video arrive in time and with enough fidelity, unlike issues such as file naming or UI design.
Q9. Given that lossless compression typically achieves a 2:1 ratio, while lossy compression can achieve 10:1, what inference can be made about the trade‑off between compression ratio and image fidelity?
📖 Explanation: Lossless methods keep every original bit, limiting how much data can be reduced, whereas lossy techniques sacrifice detail to reach higher ratios. Therefore, as the compression ratio increases, especially with lossy schemes, perceptual quality tends to decline because more information is discarded.
Q10. How does progressive JPEG differ from baseline JPEG in terms of user experience during download?
📖 Explanation: Progressive JPEG transmits the image in multiple scans, allowing a low‑resolution version to appear quickly and then be refined as more data arrives. This gives users a preview early on, whereas baseline JPEG waits until the entire file is received before rendering the full‑resolution image.
Q11. If an image is downscaled from 1920×1080 to 640×360 before compression, how does this affect the required bitrate for a given visual quality?
📖 Explanation: Reducing resolution lowers the total number of pixels, so fewer bits are needed to represent the same visual fidelity. Consequently, the required bitrate drops roughly in proportion to the reduction in pixel count, assuming the compression algorithm and quality settings remain constant.
Q12. A streaming service switches from H.264 to H.265 codec while keeping the same bitrate. What is the expected impact on perceived video quality?
📖 Explanation: H.265 (HEVC) is more efficient than H.264, delivering comparable visual quality at lower bitrates. Maintaining the same bitrate while moving to the newer codec typically yields a perceptible improvement in sharpness, reduced artifacting, and overall better image fidelity for the viewer.
Q13. When evaluating two image compression schemes, Scheme X retains fine textures better while Scheme Y preserves color accuracy. Which evaluation criterion should guide selection for medical imaging?
📖 Explanation: Medical diagnosis often depends on subtle texture patterns that reveal tissue characteristics; losing those details can compromise diagnostic value. Therefore, a scheme that better preserves fine textures is preferred, even if color fidelity is slightly lower, because texture information is more critical for accurate interpretation.
Q14. In a multimedia system, latency is introduced at three stages: acquisition, compression, and transmission. If compression latency is reduced by half, what is the most direct effect on end‑to‑end delay?
📖 Explanation: End‑to‑end delay is the sum of latencies across all stages. Halving the compression component directly reduces the total delay by that same amount, assuming the other stages remain unchanged. This yields a proportional improvement in overall responsiveness.
Q15. Suppose a video frame suffers a packet loss resulting in missing macroblocks. Which error concealment technique is most appropriate to minimize visual disruption?
📖 Explanation: When macroblocks are missing, using information from neighboring frames (temporal interpolation) can estimate the lost content based on motion continuity, often producing smoother visual results than spatial smoothing, which relies only on adjacent pixels within the same frame.
Q16. Compare the impact of using a higher frame rate versus a higher resolution on perceived smoothness of motion in a video stream under constant bandwidth.
📖 Explanation: Smooth motion perception is primarily driven by frame rate; more frames per second provide finer temporal sampling, reducing motion blur. Under a fixed bandwidth, allocating bits to increase resolution sacrifices frames, which can make motion appear less fluid despite sharper images.
Q17. If a multimedia application employs adaptive bitrate streaming, how does it respond when network bandwidth drops from 5 Mbps to 2 Mbps?
📖 Explanation: Adaptive streaming monitors available bandwidth and automatically selects a representation that fits within the new limit. When bandwidth falls, the client switches to a lower‑bitrate version to maintain uninterrupted playback, rather than halting or attempting higher‑quality delivery.
Q18. A JPEG image is encoded with a quantization matrix that emphasizes high frequencies. What is the likely visual result?
📖 Explanation: Quantizing high‑frequency coefficients more aggressively discards the subtle variations that define fine detail, leading to a loss of texture and crispness. The image may appear smoother or blurred, as the high‑frequency information responsible for sharp edges is reduced.
Q19. Which of the following best explains why vector graphics are resolution‑independent while raster graphics are not?
📖 Explanation: Vector graphics describe shapes using geometric equations, allowing them to be recalculated at any size without loss of detail. Raster graphics consist of fixed pixel grids; scaling them enlarges pixels, causing visible degradation. Hence, vectors are inherently resolution‑independent.
Q20. When integrating audio with images in a multimedia presentation, which synchronization issue is most critical to maintain user immersion?
📖 Explanation: The perceived cohesion of a multimedia experience hinges on precise timing; audio cues must line up with visual events (e.g., narration matching slide transitions). Misalignment breaks immersion, whereas file naming, color depth, or bitrate have less immediate impact on the viewer’s sense of continuity.
Q21. If an image codec uses entropy coding after DCT, what is the purpose of the entropy coding stage?
📖 Explanation: Entropy coding (such as Huffman or arithmetic coding) follows the DCT and quantization steps to compress the resulting symbols. It assigns shorter bit patterns to symbols that occur frequently, thereby exploiting statistical redundancy and further shrinking the overall bitstream.
Q22. Consider two streaming protocols: Protocol A guarantees packet order, Protocol B allows out‑of‑order delivery with reordering at the client. Which protocol is more tolerant to packet loss?
📖 Explanation: When packets can be reordered, the client can request retransmission of only the missing pieces without discarding subsequent packets, reducing the impact of loss. A strict in‑order protocol would have to discard all later packets until the missing one arrives, making it less tolerant.
Q23. An image transmission system employs both spatial and temporal redundancy reduction. If spatial redundancy is eliminated but temporal redundancy remains, what impact does this have on bandwidth when sending a sequence of identical frames?
📖 Explanation: Removing spatial redundancy cuts the data needed for each individual frame, but if consecutive frames are identical, temporal redundancy would have allowed even further savings. With only spatial reduction, the bandwidth savings are limited to the per‑frame compression, not the additional gains from frame‑to‑frame similarity.
Q24. Given two compression algorithms, Algo A with higher PSNR but longer encoding time, and Algo B with lower PSNR but faster encoding, which scenario justifies selecting Algo B over Algo A?
📖 Explanation: In live broadcast environments, the delay introduced by encoding must be minimal to keep the stream synchronized with real‑time events. Even if Algo B yields slightly lower PSNR, its speed ensures timely delivery, making it the preferred choice when latency outweighs marginal quality differences.
Q25. The Shannon‑Hartley theorem states that channel capacity C = B·log₂(1+S/N). If the bandwidth B is doubled while keeping signal‑to‑noise ratio constant, what is the theoretical effect on maximum achievable data rate?
📖 Explanation: Since capacity C is directly proportional to bandwidth B, doubling B while maintaining the same signal‑to‑noise ratio linearly doubles the theoretical maximum data rate, assuming all other factors remain unchanged.
Q26. A system designer must choose between storing images in a proprietary compressed format that offers 15:1 compression but limited interoperability, versus an open standard format with 8:1 compression. Considering long‑term maintenance, legal, and integration costs, which factor should dominate the decision?
📖 Explanation: While higher compression reduces immediate storage expense, the inability to readily access or migrate proprietary files creates significant future costs, including licensing, conversion, and potential vendor lock‑in. Therefore, interoperability and the assurance that the format will remain usable across platforms outweigh the modest storage savings.)