Data Compression W5 Flashcards
(8 cards)
What is the goal of data compression?
To reduce redundancy in data and save space.
What is the difference between message, data, and information?
Message: What you’re trying to say.
Data: Symbols used to express it.
Information: The amount of surprise (newness).
What is redundancy in data?
Repeating or predictable information that can be removed to save space.
What is information theory and who founded it?
The study of quantifying and compressing information; founded by Claude Shannon in 1948.
What’s an example of lossless compression?
Assigning shorter binary codes to common patterns (e.g., Huffman coding).
When does compression work best?
When data has high redundancy (e.g., predictable patterns or repeated values).
What is the average bits per customer in the vegetarian example?
0.78 bits per customer (achieving lossless compression).
What’s the key idea behind compression?
Store only the unpredictable (surprising) parts of data.