Compression Flashcards

1
Q

Define ‘lossy compression’

A

Compression where non-essential data is removed to free up space, for example:

  • Different shades of the same colour in an image
  • Frequencies of sound outside the human hearing range
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define ‘lossless compression’

A

Compression where the computer analyses patterns in the data, and summarises it in a shorter format - without removing any information.

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

How does lossy compression work in images?

A
  • Different shades of certain colours are removed
  • Picture is reconstructed with less coloured pixels
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does lossy compression occur in sounds?

A
  • Sounds with frequencies outside the range of human hearing are removed from the file
  • Quieter notes playing at the same time as louder notes are also removed from the file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the difference between lossy and lossless types?

A

Lossy: Is most effective at reducing file size

Lossless: Maintains the information of the original data

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

What is lossy compression typically used for?

A

Audio files and pictures

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

State the effect of using lossy compression on pictures and audio

A

Pictures files: Would lose their original resolution, as there are less individual colours to make up the picture

Sound files: Would lose their sharpness

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

State one method of lossless compression and where it is used

A

Run Length Encoding: Used in pictures and sound files.

Dictionary Compression: Used in word files

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

Explain how Dictionary Compression works:

A

Repeating words / characters are added to a dictionary, and assigned a [shorter] binary value

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