Bitmaps and binary, and image file sizes – AQA GCSE Computer Science lesson (8525)
Pupils learn to calculate bitmap file sizes in bits and bytes and explain how image size and colour depth affect file size.
Lesson 4 of 11 in unit 10.4 Characters, Images, Sound, Strings and Data Structures, 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 bitmap file sizes in bits and bytes and explain how image size and colour depth affect file size.
- The Build (the main task)
- Calculate the minimum file size in bytes of the thumbnail, which is 200 × 100 pixels with a colour depth of 8 bits. Show your working. (3 marks) Explain the effect on the file size of increasing the colour depth. (2 marks)
- Support version
- The formula card (bits = W × H × D; bytes = bits ÷ 8) with a worked example and part-filled steps.
- Challenge
- Calculate the file size in kilobytes of a 400 × 250 image that uses 16 colours. Show your working. (3 marks) The app's upload limit is 30 kB. A poster is 300 × 200 pixels with a colour depth of 4 bits. Calculate its file size in kB and state whether it can be uploaded. Show your working. (4 marks) Icon A is 64 × 64 pixels with 2 colours. Icon B is 32 × 32 pixels with 256 colours. Explain which icon has the bigger file, using calculations. (4 marks)
- Real-world link
- How big will the festival's poster files be before they are uploaded?
- Key words
- Bitmap, File size and Calculate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “File size in bytes is width × height × colour depth”; “Doubling the colour depth doubles the number of colours”.
- AQA 8525 specification
- 3.3.6 (representing images: pixels, image size, colour depth, bitmap file sizes, bitmaps and binary).
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 Data Structures unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
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 (AQA)
See allPupils learn to describe 7-bit ASCII and Unicode, use a character table, and explain why Unicode is needed.
Pupils learn to use length, position, substring, concatenation and character code conversions in the class's language and AQA pseudo-code.
Pupils learn to explain how a bitmap represents an image with pixels and colour depth, and convert a simple bitmap to and from binary.
Written for the specifications named. Not endorsed by or affiliated with any exam board.