Compression Flashcards

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

2 Types of compression

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

Summary of how lossless compression works?

A

It allows the file size to be reduced without losing any of the original data. It works by searching for patterns and indexing those patterns.

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

Summary of how lossy compression works?

A

Lossy compression removed data that is not needed, either because a drop in quality is acceptable or the difference can’t be detected by the human eye.

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

Why is lossy compression not good for software, databases, etc.?

A

Because in lossy compression, parts of the original data are lost meaning the data can’t be put together how it was (bad for code, databases, etc.)

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

Run-length encoding.

A

It groups repetitive data and stores them once.

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

Dictionary encoding

A

Dictionary encoding algorithms create an index of data which require less space to store than the original data

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

3 benefits of compression

A
  • Download speeds are increased
  • Real-time streaming of audio and video without buffering
  • Takes smaller size on disk, so you have more space to store other data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly