Compression Flashcards

1
Q

What are the 2 types of compression?

A

Lossy

Lossless

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

What are 4 main reasons for compressing a file?

A

Less storage space required for files
Faster download and uploads
Smaller file attachments for email
Coping with slow links when streaming

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

What is the 1st equation for compression ratio?

A

Compression Ratio = Original Data Size / Compressed Data Size

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

What is the 2nd equation for compression ratio?

A

Compression Ratio = Original Data Rate / Compressed Data Rate

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

What is lossy compression?

A

Permanently eliminating certain information from the file

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

How does the algorithm for lossy compression work?

A

Depends on patterns being present within the information. The algorithm looks at the data, tries to identify the patterns and decides how much it can throw away without noticeably affecting the quality of the data

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

What are 3 common types of lossy compression for music, images and videos?

A

Music : MP3 files
Image: JPG files
Video: MP4 files

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

What is lossless compression?

A

The file is reduced in size, without losing any quality so the original file can be restored

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

What are 4 type of lossless compression files for images, audio and any other kind of file?

A

Images : PNG
Audio : WAV and FLAC
A very popular lossless compression format for storing any kind of file is .ZIP.

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

What is data streaming compression?

A

Means to reduce the bit rate of the video or music stream

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

Which type of compression is more effective at decreasing the size of a file?

A

Lossy Compression, because it has a higher compression ratio

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