Data Compression W5 Flashcards

(8 cards)

1
Q

What is the goal of data compression?

A

To reduce redundancy in data and save space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between message, data, and information?

A

Message: What you’re trying to say.

Data: Symbols used to express it.

Information: The amount of surprise (newness).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is redundancy in data?

A

Repeating or predictable information that can be removed to save space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is information theory and who founded it?

A

The study of quantifying and compressing information; founded by Claude Shannon in 1948.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s an example of lossless compression?

A

Assigning shorter binary codes to common patterns (e.g., Huffman coding).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When does compression work best?

A

When data has high redundancy (e.g., predictable patterns or repeated values).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the average bits per customer in the vegetarian example?

A

0.78 bits per customer (achieving lossless compression).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s the key idea behind compression?

A

Store only the unpredictable (surprising) parts of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly