1.2.5 Compression

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

What is data compression?

The process of reducing the file size of digital data, often to save storage space or speed up transmission.

2
New cards

What is lossy compression?

Compression that removes some data permanently, significantly reducing file size but lowering the quality. It is not reversible (e.g., JPEG, MP3).

3
New cards

What is lossless compression?

Compression that finds patterns to reduce redundancy without losing any data, allowing the original file to be perfectly reconstructed. File size is smaller than original but larger than lossy (e.g., PNG, ZIP).

4
New cards

Which compression type is best for code or text files?

Lossless, because losing a single character of code or text would make the file unusable or corrupt.

5
New cards

Which compression type is better for streaming music or video where a small loss in quality is acceptable?

Lossy, because the significant file size reduction allows for faster transfer speeds and less buffering, and the quality loss is often unnoticeable (especially when streaming).

6
New cards

What is the main reason for the need for compression?

To save storage space on devices with limited capacity (e.g., memory card) and to enable quicker transfer/streaming of files (less bandwidth/time).

7
New cards

Give a common scenario where compression is needed for images.

Storing a large number of photos on a digital camera's memory card or uploading images to a web server/social media for quick loading.

8
New cards

Give a common scenario where compression is needed for audio.

Streaming music/video or downloading audio files (like MP3s) where file size needs to be small for faster transfer.

9
New cards

What is the main advantage of Lossy Compression?

It results in the greatest reduction in file size (e.g., JPEG can reduce file size to about 10% of the original).

10
New cards

What is the main disadvantage of Lossy Compression?

It is a destructive process; data is permanently lost and the original file cannot be exactly reconstructed. Repeated compression worsens the quality.

11
New cards

What is the main advantage of Lossless Compression?

No data is lost; the decompressed file is an identical copy of the original (perfect reconstruction).

12
New cards

What is the main disadvantage of Lossless Compression?

The resulting file size is larger than that achieved with lossy compression, and the reduction is less significant.

13
New cards

For which files is Lossy Compression suitable?

Files where minor quality loss is unnoticeable and file size is critical, such as photos (JPEG) and streaming audio/video (MP3, MPEG).

14
New cards

For which files is Lossless Compression suitable?

Files where the exact content must be preserved, such as text documents/code, archived files (ZIP), and images requiring high quality (PNG, GIF).

15
New cards

What effect does compression have on file properties like image resolution or sound duration?

Compression does not change the fundamental properties like resolution, colour depth, or the duration of an audio file. It only changes the number of bits used to represent the data.