P2 T1 L13 - Compression Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

____ is constantly being moved around computer systems and networks.

Transfer is usually ________ and ________.

As distances get longer, transfer is ______ and more susceptible to ____________.

Storage space can be ______.

A

Data

high-speed accurate

slower interference

limited

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

Text, image and sound data can be significantly reduced in size.

Reducing the amount of data to send or store ensures that…. (4 points)

A
  1. Data is sent more quickly
  2. Less bandwidth is used as transfer limits may apply
  3. Buffering on audio and video streams is less likely to occur
  4. Less storage is required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 2 different types of data compression?

A
  1. Lossy

2. Lossless

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

Explain lossy compression

1 point

A
  1. Non-essential data is permanently removed

e. g. different shades of the same colour in an image or frequencies of sound outside the range of human hearing

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

Explain lossless compression

1 point

A
  1. Patterns in the data are spotted and summarised in a shorter format without permanently removing any information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe lossy compression on a JPG file.

2 steps

A
  1. Removes data permanently to reduce file size

2. Tries to reconstruct an image without the missing data

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

Describe lossy compression on an MP3 file.

2 steps

A
  1. Lossy compression removes the sounds in the frequency ranges that we can’t so easily hear or that least affect the perceived playback quality.
  2. Quieter notes played at the same time as louder sounds are also removed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain run length encoding (RLE)

2 steps

A
  1. A basic method of compression that summarises consecutive patterns of the same data
  2. Works well with image and sound data where data could be repeated many times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe RLE of sound

3 steps

A
  1. A sound recording could have many thousands of samples taken every second (typically 44,000)
  2. The same sound or note played for a fraction of a second could result in hundreds of identical samples
  3. RLE records one example of the sample and how many times it consecutively repeats
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain dictionary compression

3 points

A
  1. Spots regularly occurring data and stores it separately in a dictionary
  2. The reference to the entry in the dictionary is stored in the main file thereby reducing the original data stored
  3. Even though the dictionary produces additional overheads the space saving negates this problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_________ reproduces the original data but doesn’t always compress by a significant factor.

A

Lossless

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

_______ can never recreate exactly the original data but does reduce file size significantly

A

Lossy

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