GCSE · Computer Science · Eduqas · Spec C500QS
Principles of data compression
Imagine texting a friend 5W 6B 3G instead of 14 separate pixels. Same picture, fewer pieces. That one trick is the whole idea behind compression.
Why compress?
Reason it through
Why do people bother compressing files?
First link · your turn
What does compressing do to the number of bits a file needs?
Computer Science · Compression
Which type suits which file?
Which type of compression suits each kind of file?
Still to sort
Lossy (0)
Removing detail people are unlikely to notice is acceptable for a much smaller file.
Where the line is: Choose lossy only when losing a little detail does no harm.
Lossless (0)
The file must be recovered exactly.
Where the line is: Choose lossless when losing even a small amount of data would corrupt the file or change its meaning.
Pick a file, then the type of compression that suits it.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Same file, less data: and the one question that tells lossy from lossless.
What you need to know
- Data compression reduces the size of a file, so fewer bits are needed to store or send it.
- The trick is to represent the same file using less data: write repeated patterns more efficiently, or remove data that is not needed.
Have a goYour mate Sam says compression just squashes the bits closer together so the file fits in a smaller space. Is Sam right?
No. Compression represents the same file using less data, so fewer bits are needed.
Nothing is physically squashed: patterns are written more efficiently, or unneeded data is removed.
- A smaller file takes up less storage space, so more files fit on the same device.
- A smaller file transfers more quickly over a network or the internet, because fewer bits are sent. It also uses less bandwidth.
Have a goThe same video is sent twice over one connection: once as it is, once compressed. Which finishes first, and why?
The compressed one, because fewer bits have to be sent.
Transfer time follows the number of bits sent, and fewer bits also means less bandwidth used.
- A compressed file normally has to be decompressed, meaning expanded back into a usable form, before you can open it.
- There are two types of compression: lossy and lossless.
- Lossless reduces file size without permanently losing any data, so decompressing rebuilds the original exactly.
- Lossy permanently removes some of the data, so the original cannot be recovered exactly.
Have a goA photo is saved with lossy compression, then decompressed. Will it be exactly the same as the original?
No. Some data was permanently removed.
Decompressing expands the file but cannot restore data that lossy compression removed.
- Lossy usually makes a file much smaller than lossless can, but some quality is lost.
- Lossy suits photographs, sound and video. Lossless suits text documents, program files and spreadsheets.
The big picture
Compression stores the same file using less data. Lossless compression can be undone to give back the original exactly; lossy compression permanently removes some data, so it cannot.
Key points
Worked example
Problem
A school librarian wants to shrink two files before emailing them: a recording of an assembly and a spreadsheet of library loans. Which type of compression should each file use, and what happens when the files are opened?
⚠ Watch out
Mixing up which type loses data. Lossy is the one that loses it for good; lossless never does, so its decompressed file is exactly the original.
Memory hook
Lossy loses data for good. Lossless loses nothing, so it rebuilds exactly.
Check yourself
A photographer compresses a photograph with lossy compression and a report with lossless. Explain what happens to the data in each file, and say which one can be recovered exactly.
Flashcards
(12)What is data compression?
What is the principle behind compression?
Why does compression help with storage?
Why does compression speed up transfers?
What normally has to happen to a compressed file before you can use it?
What are the two types of compression?
The one question that separates lossy from lossless?
What does lossy compression do to the data?
What does lossless compression do to the data?
Which type usually gives the much smaller file, and what is the price?
Which files suit lossy compression, and why is that acceptable?
Which files suit lossless compression, and why?
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 postedMore Eduqas GCSE Computer Science topics
How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)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 16 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.