GCSE · Computer Science · OCR · Spec J277

Lossy compression

What if making a file smaller meant throwing part of it away for good, and you might never notice it had gone?

Computer Science · Compression

Lossy, lossless, or both?

Tick where each statement is true: lossy only, lossless only, or both. As you go, keep asking: could I get the original file back exactly?

  • A Lossy compression
  • B Lossless compression
  1. Is a compression method that reduces file size
  2. Permanently removes some data from the file
  3. Generally gives the much smaller file of the two
  4. May reduce the quality of the file
  5. Keeps all the data
  6. Preserves the quality of the file
  7. Can be reversed exactly
  8. JPEG (images), MP3 (audio) and MP4 (video) are examples of formats that use it

Predict, then check

Commit to an answer first. It is more fun when you are wrong.

An image is compressed with lossy compression and then decompressed. What do you get back?

Computer Science · Compression

Does losing data mean worse quality?

Your friend says: 'Lossy compression throws data away, so the picture or the song must be damaged.'

Which idea is closest to what you think?
How sure are you?

Computer Science · Compression

Write it like an answer

Compare lossy compression with lossless compression. Make four different points. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Shrink a file by throwing some of its data away for good, and see why you may not miss it.

What you need to know

  • Compression reduces a file's size. Lossy and lossless are two compression methods.
  • Lossy compression permanently removes some data from the file to reduce its size.
  • Have a goYour friend says: 'Lossy just hides some of the data and shows it again later.' Is that what lossy does?

    No. The data is permanently removed, not hidden.

    Hidden data could come back. Permanently removed data cannot, and that single word is what separates lossy from a clever hiding trick.

  • Gone for good means a lossy file cannot be restored exactly. Decompression recreates only an approximation.
  • The data removed is considered less important or unlikely to be noticed by humans.
  • So the loss may not noticeably affect the perceived quality of the file.
  • JPEG (images), MP3 (audio) and MP4 (video) are all lossy formats.
  • Have a goMatch each file to its lossy format: a holiday video, a favourite song, a photo of your dog.

    Video: MP4. Song: MP3. Photo: JPEG.

    MP4 is the lossy format for video, MP3 for audio and JPEG for images.

  • Lossy generally gives a much smaller file, but may reduce quality and is not fully reversible.
  • Have a goA classmate says lossless gives the much smaller file. Which method does, and what can it cost you?

    Lossy does. It may reduce quality and is not fully reversible.

    Lossy gives the generally much smaller file by throwing data away, and that is exactly why it can cost quality and cannot be fully reversed.

  • Lossless keeps all the data, preserves quality and can be reversed exactly.

The big picture

Lossy compression makes a file smaller by permanently removing some of its data, so the original cannot be restored exactly and decompression recreates only an approximation. The data removed is considered less important or unlikely to be noticed by humans, so the perceived quality may not change noticeably. JPEG, MP3 and MP4 are lossy formats, and lossless compression is the opposite: it keeps all the data.

Key points

1Lossy compression permanently removes some data from a file to reduce its size.
2A lossy file cannot be restored exactly to the original. Decompression recreates only an approximation.
3The data removed is considered less important or unlikely to be noticed by humans, so the perceived quality may not noticeably change.
4JPEG (images), MP3 (audio) and MP4 (video) are lossy formats.
5Lossy generally gives a much smaller file but may reduce quality and is not fully reversible. Lossless keeps all the data, preserves quality and can be reversed exactly.

Worked example

Problem

Aisha saves a song as an MP3. It sounds fine to her, so she says: 'Decompressing it will give me back the exact original recording.' Is she right?

⚠ Watch out

Thinking lossy means the file is visibly or audibly damaged. It removes data considered less important or unlikely to be noticed, so the perceived quality may not noticeably change. The removed data is still gone for good.

🧠

Memory hook

Lossy means lost: some data is lost for good, and lost data never comes back. The trick is that it was chosen so you may never miss it.

✓

Check yourself

Without looking back, say what lossy compression does to the data in a file, what decompression gives you afterwards, and why you may not notice the difference.

Flashcards

(8)
What does lossy compression do to a file's data?
It permanently removes some data from the file to reduce its size.
Can a lossy-compressed file be restored exactly to the original?
No. Decompression recreates only an approximation of the original file.
What sort of data does lossy compression remove?
Data considered less important or unlikely to be noticed by humans.
Why can a lossy file still look or sound fine?
The loss may not noticeably affect the perceived quality of the file.
Name the lossy format for each: images, audio, video.
Images: JPEG. Audio: MP3. Video: MP4.
Which gives the generally much smaller file: lossy or lossless?
Lossy.
What is the price of lossy's much smaller file?
It may reduce quality and is not fully reversible.
What does lossless compression do with the data?
It keeps all the data, preserves quality and can be reversed exactly.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.