4.5.6 Representing images, sound and other data Flashcards

1
Q

Why may files be compressed?

A

Files may be compressed to reduce their size.

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

What is an advantage of smaller files?

A

• Smaller files may 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
3
Q

What are the two kinds of compression?

A
  • Lossy

* Lossless

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

What kinds of files are compressed?

A
  • Images
  • Sound files
  • Text files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens to the information with lossy compression?

A

• Some information is lost in the process of reducing the file’s size.

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

What occurs in lossy compression?

A
  • Some information is lost in the processing of reducing a file’s size
  • This could be reducing the resolution of an image or lowering the sample resolution of a sampled audio file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an advantage of lossless compression?

A

There is no loss of information when using lossless compression, the size of a file can be reduced without decreasing its quality.

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

What are the two methods of lossless compression?:

A
  • Run length encoding

* Dictionary based

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

How does RLE work?

A

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
10
Q

Why may RLE not be suitable?

A

where information has no repeated values, it cannot be compressed by RLE.

Not all data is suitable for compression by RLE.

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

How does dictionary based methods work?

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
12
Q

How is file size affected by dictionary based methods?

A

• Results in a reduction in size, however the dictionary has to be present in the file in order for the files to be reproduced, resulting in the file size increasing.

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

What are RLE and dictionary based methods most effective on?

A

Files that contain a lot of repeated data.

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

What is the advantage of lossy compression?

A

• 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
15
Q

What are 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
16
Q

What is the advantage of lossless compression?

A
  • No loss of information

* No loss of quality

17
Q

What is the disadvantage of lossless compression?

A

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