Advanced Placement (AP) Computer Science 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

What is an example of compression that allows full recovery of original data?

JPEG

PNG

The choice of PNG as an example of compression that allows full recovery of original data is correct because PNG uses lossless compression. This means that when an image is saved in PNG format, none of the original pixel data is lost during the compression process. As a result, when a PNG file is decompressed, it perfectly reconstructs the original image, allowing for complete fidelity and accuracy.

In contrast, formats like JPEG use lossy compression, which discards some image data to reduce file size, leading to potential loss of quality that cannot be restored. Similarly, MP3 is a lossy compression format for audio, meaning that it reduces file size by eliminating frequencies that are less audible to the human ear. GIF, while it can preserve original data in some respect, is limited to a maximum of 256 colors and is often not considered a true image representation of original data due to this color limitation.

Thus, PNG represents a clear example of effective lossless compression, allowing for full recovery of the original data without any alteration or loss.

Get further explanation with Examzify DeepDiveBeta

MP3

GIF

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy