Skip to content
Computing · Year 7

Active learning ideas

Data Compression: Lossy vs. Lossless

Active learning works because students confront compression’s invisible trade-offs through concrete artifacts they can see, hear, and measure. When they compress their own files and compare sizes and qualities, the abstract concept of redundancy and discard becomes tangible and memorable.

National Curriculum Attainment TargetsKS3: Computing - Data Representation
20–45 minPairs → Whole Class4 activities

Activity 01

Case Study Analysis30 min · Pairs

File Compression Challenge: Images

Provide identical images. Students compress one as JPEG (lossy) and one as PNG (lossless) using free tools. They record file sizes, zoom to spot quality loss, and discuss results. Share findings class-wide.

Explain the purpose of data compression in digital storage and transmission.

Facilitation TipDuring the File Compression Challenge, circulate and ask each pair to show you their before-and-after image sizes and explain one visual difference they noticed.

What to look forPresent students with a list of file types (e.g., Word document, MP3 song, RAW photograph, ZIP archive). Ask them to identify whether each file type typically uses lossless or lossy compression and briefly explain why.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

Activity 02

Case Study Analysis45 min · Small Groups

Audio Demo Rotation: Lossy vs Lossless

Set up stations with song clips. At one, compress as MP3 (lossy); at another, as WAV (lossless). Groups listen with headphones, note size and sound differences, then vote on best use cases. Rotate every 7 minutes.

Compare lossy and lossless compression techniques with examples.

Facilitation TipFor the Audio Demo Rotation, set a strict 3-minute timer per clip so students focus on the quality trade-off rather than endless listening.

What to look forProvide students with two scenarios: 1) Compressing a collection of important text documents for archival. 2) Compressing a video for a YouTube upload. Ask them to choose the appropriate compression method (lossy or lossless) for each scenario and write one sentence justifying their choice.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

Activity 03

Case Study Analysis25 min · Whole Class

Scenario Justification Debate: Whole Class

Present cases like emailing photos or archiving documents. Pairs pick lossy or lossless, justify with pros/cons. Class votes and debates, teacher tallies reasons on board.

Justify the choice of a compression method based on data type and desired quality.

Facilitation TipIn the Scenario Justification Debate, give each student one index card to write their method and reason before speaking to ensure equitable participation.

What to look forFacilitate a class discussion using the prompt: 'Imagine you are designing an app for sharing student artwork. What are the advantages and disadvantages of using lossy versus lossless compression for the images? Which would you recommend and why?'

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

Activity 04

Case Study Analysis20 min · Individual

Zip Folder Experiment: Individual

Students create folders with text, images, audio. Compress with ZIP (lossless), measure before/after sizes. Decompress and verify exact match, noting limits.

Explain the purpose of data compression in digital storage and transmission.

Facilitation TipIn the Zip Folder Experiment, have students save both the zipped and unzipped folders in the same folder so the size difference is immediately visible.

What to look forPresent students with a list of file types (e.g., Word document, MP3 song, RAW photograph, ZIP archive). Ask them to identify whether each file type typically uses lossless or lossy compression and briefly explain why.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

A few notes on teaching this unit

Start by demonstrating how a single pixel change in a PNG can be reversed after unzipping, while a JPEG’s quality loss is permanent. Avoid over-explaining formulas; instead, let students discover the patterns by measuring real files. Research shows that when students generate their own data through compression tasks, their retention of the abstract concepts improves by up to 25% compared with lecture alone.

Successful learning looks like students accurately classifying compression types, justifying choices with evidence from file-size measurements or quality observations, and applying criteria to new scenarios without prompting.


Watch Out for These Misconceptions

  • During the Zip Folder Experiment, watch for students who assume compression always deletes data.

    Have them open the zipped folder to confirm the original files are intact, then compare sizes to show how repacking reduces space without loss.

  • During Audio Demo Rotation, listen for claims that lossy audio is always worse than lossless.

    Ask groups to rank clips by quality and justify their rankings with evidence from the listening experience, then share findings in a class chart.

  • During the File Compression Challenge, watch for students who think compression always increases file size.

    Have pairs measure the PNG before and after ZIPping, then graph class results on the board to show consistent reduction.


Methods used in this brief