Single lesson · Written for OCR J277

Image file size calculations – OCR GCSE Computer Science lesson (J277)

How big will an image file be before we save it? One complete OCR GCSE Computer Science (J277) lesson with slides, worksheets and a lesson plan.

Also in a bundle Characters, Images, Sound, Strings and Arrays – OCR GCSE Computer Science lessons (J277) 11 lessons for £39 · save 11% on buying separately

Lesson 4 of 11 in unit 10.4 Characters, Images, Sound, Strings and Arrays, taught in Year 10, Spring 2. It answers one big question: How big will an image file be before we save it?

By the end, pupils can calculate an image's file size in bits, bytes, kilobytes and megabytes using colour depth × width × height, and explain why metadata makes the real file a little larger.

The Build (the main task)
Calculate the file size of each festival photo in bytes and in kilobytes, showing every step: A) 400 × 300 pixels, 24-bit colour depth; B) 800 × 600 pixels, 8-bit; C) 640 × 480 pixels, 24-bit. Then state which photos fit the app's 500 KB upload limit.
Support version
Part-filled method table: width × height, × colour depth, ÷ 8, ÷ 1,000, with the first photo done.
Challenge
Work backwards: what is the largest colour depth a 400 × 500 photo can use and still fit in 500 KB?
Real-world link
Fans upload festival photos, and the app limits each upload to 500 KB.
Key words
Metadata, File size and Calculate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“The answer to width × height × colour depth is in bytes”; “The number of pixels is width + height”.
OCR J277 specification
1.2.3 (units: converting between bits, bytes, kilobytes and megabytes; calculating the file size of text, image and sound files, and data capacity requirements); 1.2.4 (data storage – characters: character sets, ASCII and Unicode, bits per character and the number of characters represented. Images: pixels, colour depth, resolution and metadata. Sound: sampling, sample rate, duration and bit depth, and their effect on quality and file size).

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 all

Written for the specifications named. Not endorsed by or affiliated with any exam board.