Data Compression Flashcards Preview

Paper 2 - Computer Science > Data Compression > Flashcards

Flashcards in Data Compression Deck (11)
Loading flashcards...
1

What is compression?

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

2

What is lossless compression?

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

3

What is lossy compression?

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

4

What are the advantages of lossless compression?

- 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

5

What are the advantages of lossy compression?

Produces smaller sized files than lossless compression

6

What is RLE and how is it achieved?

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

7

What is Dictionary based compression?

- 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.

8

Why is a symbol less storage than a word

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

9

What type of compression is dictionary based compression?

Dictionary based compression is lossless compression.

10

What type of compression is RLE?

RLE is lossless compression.

11

What type of compression is used on sounds?

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