Lecture 4 - Text Compression Intro Flashcards

1
Q

What is text compression?

A

A special case of data compression, done to save disk space and transmission time.

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

What kind of a compression must text compression be?

A

Lossless, as we don’t want to lose words

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

What does lossless mean?

A

Recoverable without errors

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

What forms of media can afford to be lossy?

A

Pictures, videos, sounds

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

What are the 2 approaches for text compression?

A

statistical and dictionary

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

What is the compression ratio?

A

x/y, where x is the size of the compressed file and y is the size of the original file

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

What is the percentage space saved?

A

(1 - compression ratio) * 100

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

What is a typical percentage space saved?

A

40 - 60%

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