Data Compression Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is compression?

A

Compression reduces files sizes to allow download speeds and file storage requirements to be reduced.

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

What is lossless compression?

A

Compression where no data is lost, so the original can be perfectly reconstructed

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

What is lossy compression?

A

Compression where data is discarded so the original copy cannot be reconstructed

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

What are the advantages of lossless compression?

A
  • Different resolutions are accessible
  • Has the ability to be compressed for downloading then expanded before it runs
  • No data is lost so higher image quality retained
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of lossy compression?

A

Produces smaller sized files than lossless compression

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

What is RLE and how is it achieved?

A

Achieved by replacing all the repeated values with the quantity of repeated values, then what the repeated value is.

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

What is Dictionary based compression?

A
  • Strings (i.e words) are encoded as single symbols
  • The symbol is used as the index for a look up table
  • Compression is used where symbols are smaller than the original strings.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is a symbol less storage than a word

A

The symbol is usually less bits than the original string which uses a byte per character

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

What type of compression is dictionary based compression?

A

Dictionary based compression is lossless compression.

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

What type of compression is RLE?

A

RLE is lossless compression.

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

What type of compression is used on sounds?

A

Lossy compression, it removes frequencies that are too high for humans to hear, reducing the file size

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