Skip to content
Computing · Year 9

Active learning ideas

Data Compression: Lossy vs. Lossless

Active learning builds durable understanding for data compression because students need to see, hear, and measure the consequences of choices. Compressing the same image with JPEG and PNG, then comparing file sizes and quality, makes abstract trade-offs concrete in minutes.

National Curriculum Attainment TargetsKS3: Computing - Data RepresentationKS3: Computing - Binary and Digitisation
30–45 minPairs → Whole Class4 activities

Activity 01

Formal Debate45 min · Small Groups

Demo Station: Compression Comparisons

Provide image and audio files. Students use free tools like TinyPNG for lossless and JPEG optimisers for lossy. They measure original versus compressed sizes, then view or play files side-by-side to spot quality differences. Record findings in a class comparison table.

Differentiate between lossy and lossless compression methods with real-world examples.

Facilitation TipDuring Demo Station, have students compress identical images using both JPEG and PNG, then compare file sizes and visual quality side by side on the same screen.

What to look forPresent students with a list of file types (e.g., .jpg, .png, .mp3, .wav, .zip, .docx). Ask them to categorize each as typically using lossy or lossless compression and briefly explain their reasoning for two examples.

AnalyzeEvaluateCreateSelf-ManagementDecision-Making
Generate Complete Lesson

Activity 02

Formal Debate30 min · Pairs

Pair Debate: Application Choices

Assign pairs one file type, such as photos or text documents. They research and argue for lossy or lossless compression, citing pros, cons, and examples. Pairs present to class, with whole class voting on best justifications.

Justify why certain file types (e.g., images) often use lossy compression while others (e.g., text) use lossless.

What to look forPose the question: 'Imagine you are designing a system to store patient medical scans. Would you choose lossy or lossless compression? Justify your decision, considering both storage needs and the critical nature of the data.'

AnalyzeEvaluateCreateSelf-ManagementDecision-Making
Generate Complete Lesson

Activity 03

Formal Debate35 min · Individual

Individual File Challenge

Give students mixed files. They select and apply appropriate compression, justify choices in a log, and calculate percentage size reductions. Share top reductions and rationales in a 5-minute plenary.

Analyze the ethical implications of data loss in lossy compression for critical information.

What to look forOn an index card, ask students to write one sentence defining lossy compression and one sentence defining lossless compression. Then, they should provide one specific example of a situation where each type is preferred.

AnalyzeEvaluateCreateSelf-ManagementDecision-Making
Generate Complete Lesson

Activity 04

Formal Debate40 min · Small Groups

Group Flowchart: Decision Trees

In small groups, create flowcharts to decide compression type based on criteria like file purpose and quality needs. Test with sample files, then swap and critique other groups' charts.

Differentiate between lossy and lossless compression methods with real-world examples.

What to look forPresent students with a list of file types (e.g., .jpg, .png, .mp3, .wav, .zip, .docx). Ask them to categorize each as typically using lossy or lossless compression and briefly explain their reasoning for two examples.

AnalyzeEvaluateCreateSelf-ManagementDecision-Making
Generate Complete Lesson

A few notes on teaching this unit

Teach this topic by moving from concrete to abstract: start with measurable artifacts, then connect to binary encoding and human perception. Avoid abstract lectures about entropy; instead, let students discover redundancies by comparing compressed and original files. Research shows hands-on measurement builds stronger retention than theoretical explanations alone.

Students will confidently classify compression types, explain real-world trade-offs, and choose appropriate methods based on content and purpose. They will use tools to measure size changes and justify decisions with evidence rather than assumptions.


Watch Out for These Misconceptions

  • During Demo Station, watch for students assuming all compression loses data permanently.

    During Demo Station, ask students to decompress the ZIP file and verify the original text is identical; use a simple text file so size differences are measurable and reconstruction is obvious.

  • During Pair Debate, watch for students claiming lossy compression always produces poor quality.

    During Pair Debate, play the same audio clip compressed at 128 kbps and 320 kbps, then ask students to describe what they notice; this grounds the debate in audible evidence rather than opinion.

  • During Individual File Challenge, watch for students thinking compression increases file size.

    During Individual File Challenge, have students record file sizes before and after compression in a simple table; the measurable reduction will correct the misconception immediately.


Methods used in this brief