Lossy and lossless compression – OCR GCSE Computer Science lesson (J277)
Pupils learn to explain why files are compressed, describe how lossy and lossless compression reduce file size, and choose and justify the right type for a file.
Lesson 9 of 11 in unit 10.4 Characters, Images, Sound, Strings and Arrays, taught in Year 10, Spring 2. It answers one big question: How can we make files smaller, and what do we lose?
By the end, pupils can explain why files are compressed, describe how lossy and lossless compression reduce file size, and choose and justify the right type for a file.
- The Build (the main task)
- Complete the decision table for the four files the festival app sends – a fan's photo, a ticket QR code, a live-set clip and the app's update: choose lossy or lossless compression for each, and explain each choice by its effect on quality and file size.
- Support version
- Sentence starters for each file: 'I recommend … because this file … If it lost data, …'.
- Challenge
- Compress a row of a banner image with run-length encoding and explain why it is lossless.
- Real-world link
- The app must keep downloads small for thousands of fans sharing the festival's mobile signal.
- Key words
- Lossy compression, Lossless compression and Reduce, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Data removed by lossy compression is put back when the file is opened”; “Lossless compression does not make the file smaller”.
- OCR J277 specification
- 1.2.5 (compression: the need for compression; lossy and lossless compression).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils can do it all on paper.
Also sold in the Characters, Images, Sound, Strings and Arrays unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for GCSE Computer Science (OCR)
See allPupils learn to explain how a character set gives each character a binary code, encode and decode text with ASCII, and compare ASCII and Unicode by bits per character and range.
Free sample lessonPupils learn to use concatenation, length, slicing, upper and lower case and ASCII conversion in Python and OCR Exam Reference Language to build and extract parts of strings.
Pupils learn to explain how a bitmap image is stored as pixels with binary colour codes, and describe how colour depth and resolution affect quality and file size.
Written for the specifications named. Not endorsed by or affiliated with any exam board.