Seneca

Data Compression

Computer Science: OCR GCSE, topic 1.2.32

Types of Compression

Representing audio, images, and especially video take up a lot of secondary storage space. Compression helps to reduce the size of these files so that we can store more data.

Lossy compression

Lossy compression

  • An algorithm is applied to remove unnecessary detail from the original file.
  • Some data is permanently lost.
  • However, enough data remains so that the file is still useful.
  • There is barely a noticeable difference.
  • Lossy compression results in dramatic file size reduction.
Lossless compression

Lossless compression

  • None of the original data is lost.
  • An algorithm can be used to perfectly restore the original file when needed.
  • Lossless compression is especially useful for executable files, where all of the data is necessary.
  • Lossless compression causes file size to reduce moderately.

Test yourself on Data Compression

  • Which compression method results in the best size reduction?

  • Choose the fact that is true for lossy compression.

  • A game's executable file is wrongly compressed using lossy compression. What is likely to happen?

  • Lossless compression gives a smaller size reduction than lossy compression. Why does this happen?

Practise this topic for free