1.3.3 DATA COMPRESSION Flashcards

(13 cards)

1
Q

Why do files need to be compressed?

A
  • A higher bandwidth would be needed to transmit the uncompressed file.
  • A greater amount of storage space would be required for storing uncompressed files.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefits of compression?

A
  • less bandwidth required
  • Compressing the file reduces size, hence, less storage space is required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is lossless compression?

A

Lossless reduces the file size without permanent loss of data, e.g., run-length encoding (RLE)

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

What is lossy compression?

A
  • Loss compression reduces the file size by permanently removing the data, e.g., reducing resolution or color depth, reducing sampling rate or resolution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are common lossy file compression algorithms?

A
  • JPEG
  • MPEG - 3 (MP3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is lossy compression used?

A
  • It is used to compress music files, video files & photos.
  • It is used for files where removing certain bits doesn’t detract from the quality.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does LOSSY compression actually work in an image/sound file?

A
  • In an image, lossy compression may reduce the image resolution or the color depth (bit depth).
  • In a sound file, lossy compression may reduce the sampling rate or the sampling resolution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the advantages of LOSSY compression?

A
  • It reduces the file size more than lossless, hence saves more memory.
  • It will require less time and less bandwidth if transmitted.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the disadvantages of LOSSY compression?

A
  • The quality of the image, audio, or video will be reduced.
  • The original file cannot be restored.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is LOSSLESS compression?

A
  • Lossless compression is designed to lose none of the original detail.
  • It allows the original file to be re-created exactly when uncompressed.
  • It can compress and reduce data to about 50% maximum.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How is LOSSLess Compression used?

A
  • It is used in compressing text files.
  • It is used where the loss of any data would be disastrous, such as a spreadsheet file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the advantages of LOSSLESS compression?

A
  • It reduces the file size, hence saves memory.
  • The original file can be restored.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the only DISADVANTAGE of LOSSLESS COMPRESSION?

A
  • It reduces the file size lesser than lossy compression.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly