Compression Flashcards

1
Q

What is data compression?

A

When we make the file sizes smaller while trying to make the compressed file as true to the original as possible.

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

What uses do compressing data files have?

A
  • smaller files take up less storage space on a device
  • streaming and downloading files from the internet is quicker as they take up less bandwidth.
  • allows web pages to load more quickly in web browsers
  • email services normally have restrictions on the size of the attachment you can send but compressing the file allows you to send the same content with a much smaller file size.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two types of compression?

A

Lossy and lossless compression

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

What is lossy compression?

A

Works by permanently removing data from the file limiting the number of bits the file needs and so reduces its size.

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

What is lossless compression?

A

Makes the file smaller by temporarily removing data to store the file and then restores it to its original state when it’s opened.

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

What are examples of file types of lossy compression?

A
  • MP3 (audio)
  • AAC (audio)
  • JPEG (image)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are examples of file types of lossless compression?

A
  • FLAC (audio)
  • TIFF (image)
  • PNG (image)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are advantages of lossy compression?

A
  • greatly reduced file size, meaning more files can be stored
  • take up less bandwidth so can be downloaded and streamed more quickly
  • commonly used - lots of software can read lossy files.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are disadvantages of lossy compression?

A
  • loses data so the file can’t be turned back to original
  • can’t be used on text or software files as these files need to retain all the information of the original
  • worse quality than the original. But loss in quality is normally unnoticeable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of lossless compression?

A
  • data only removed temporarily so there is no reduction in quality and should look and sound like original
  • can be decompressed turned back into original
  • used on text and software files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the disadvantages of lossless compression?

A
  • only a slight reduction in in file size so they still take up quite a bit of space on your device.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly