1.5 Data compression Flashcards

(6 cards)

1
Q

What is compression?

A

A method that uses an
algorithm to reduce the size of a file.

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

What is lossless compression?

A

No data is lost — original file can be exactly restored.

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

What is lossy compression?

A

Some data is removed — smaller file but original can’t be fully restored.

A method that uses an
algorithm to reduce unnecessary and
redundant data in the file. This data is permanently removed from the file. Ex: Images, sound files

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

What is Run-Length Encoding (RLE)?

A

A type of lossless compression that stores repeated values as counts.
This algorithm will group together repeating pixels
and store how many times they occur.

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

Benefits of compression

A
  • Not as much storage space is needed to store the file.
  • It will take less time to transmit the file from one device to another.
  • It will be quicker to upload and download the file.
  • Not as much bandwidth is needed to transmit the file over the internet.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

perceptual music
shaping:

A

a process that is used in lossy compression that removes sounds that are not normally heard by the human ear.

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