1.2.5 Compression

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

What is compression?

  • to make a file smaller in size

2
New cards

Why is compression used?

  • files take up less storage space (so more files can be stored)

  • files can be transferred quicker (because they are smaller)

  • files can be read from or written to quicker

  • less bandwidth to transmit

  • less time to transmit/upload/download

  • would otherwise exceed email storage

3
New cards

What is lossy compression?

  • some data (which cannot be seen or heard by humans) is removed by an algorithm from a file to reduce its size

  • further lossy compression will remove data that humans can see or hear, negatively affecting the quality

  • data is completely lost once removed - can never get back original file

4
New cards

What is lossy compression commonly used for?

  • images, audio and video, for example to send over the internet

  • the reduction in file sze is significant while the reduction in quality is barely noticeable

5
New cards

What is lossless compression?

  • reduces the size of a file - Run-length encoding (RLE) - looks at data in a file for consecutive runs of the same data - stored as one item of data instead of many

  • no data is removed permanently and file can be restored to its original form when decompressed

  • no quality is lost but doesn’t reduce file size as much

6
New cards

What is lossless compression commonly used for?

  • files that would be useless if data was removed permanently - text files