3.5.6.7 Data Compression. Flashcards

1
Q

Why are images and sound files compressed?

A

To reduce file size as small files can be transferred faster between storage devices or over the internet.

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

What other files can be compressed?

A

Text files.

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

Define lossy compression.

A

When using lossy compression, some information is lost in the process of reducing the file’s size. This could be reducing the resolution of an image or lowering the sample resolution of a sample audio file.

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

Define lossless compression.

A

There is no information lost when using lossless. The file size can be reduces without decreasing its quality.

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

What are run length coding and dictionary based examples of?

A

Lossless compression.

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

Outline run length encoding,

A

(RLE for short) reduces the size of a file by removing repeated information and replacing it with one occurrence of the repeated information followed by the number of times it is to be repeated.

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

What is a disadvantage of RLE?

A

Not all data is suitable for compression by RLE.

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

Outline the Dictionary-based method.

A

When a file is compressed with a dictionary-based method, a dictionary containing repeated data is appended to the file.

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

Outline the advantages of the lossless compression

A

Results in a significant reduction in the file size.

No loss of information

No loss of quality

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

Outline a disadvantage of the lossless compression.

A

The dictionary used to compress the data has to be present in the file in order for the image to be
reproduced. This will increase the size of the file.

There is a limit to how much a file can be
compressed.

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

Outline the advantages of lossy compression.

A

The extent to which file size can be

reduced is not limited.

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

Outline the disadvantages of lossy compression.

A

Quality of file is reduced.

Some information is lost in the compression process.

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