Data in AP Computer Science Principles
Which type of compression removes some information from the original file?
Lossless compression
Textual compression
Redundant compression
Lossy compression
Which of the following factors determine the amount a file can be shrunk through compression?
File size and encoding technique
Number of bytes and encryption algorithm
File format and hardware compatibility
Amount of redundancy and compression method used
Which algorithm is traditionally used for lossless compression of text files?
Doby Digital technique.
MPEG formats.
JPEG encoding.
Huffman coding.
How do wavelet transforms benefit medical imaging technology when applied as part of image compression strategies?
They increase contrast levels automatically between different tissue types without user intervention.
They allow both spatial resolution preservation and high compression ratio for large images.
They enable real-time transmission of images over networks with minimal lag due to smaller file sizes.
They reduce the amount of radiation patients are exposed to during scans such as MRI's.
What is the main concern addressed by lossless compression algorithms?
Reduction of quality
Reconstruction of the file
Minimization of file size
Preservation of original data
What is the main goal of data compression?
To encrypt data for secure communication.
To reduce the size of data for storage or transmission.
To enhance the quality of digital media files.
To increase the speed of a computer's processor.
Which of the following compression methods works by replacing repeating data with a run that represents the number and value of the repeated data?
Burrows-Wheeler transform
LZW compression
Arithmetic coding
Run-length encoding

How are we doing?
Give us your feedback and let us know how we can improve
What advantage does using higher levels of abstraction when developing a new video compression codec provide?
It permits increased frequency of keyframes leading to large-sized but more accurate videos.
It ensures that every frame has enhanced graphical detail at more resource-intensive rates.
It mandates constant bitrate across all sections of the video regardless of motion intensity.
It allows developers to prioritize general features over individual pixel manipulation, enhancing efficiency.
Why might a photographer choose to use lossy rather than lossless image compression when saving images?
Images will have higher resolution.
Files will be encrypted for better security.
All details can be precisely restored later.
The smaller file sizes are easier to share online.
In the context of image data, what does run-length encoding primarily compress?
Random single pixels
Color palettes variations
Consecutive repeated pixels
High-contrast edges