Sound file size calculations – OCR GCSE Computer Science lesson (J277)
Pupils learn to calculate a sound file's size using sample rate × bit depth × duration in seconds, convert it to bytes, KB and MB, and compare recording settings.
Lesson 7 of 11 in unit 10.4 Characters, Images, Sound, Strings and Arrays, taught in Year 10, Spring 2. It answers one big question: How much storage does a recorded sound need?
By the end, pupils can calculate a sound file's size using sample rate × bit depth × duration in seconds, convert it to bytes, KB and MB, and compare recording settings.
- The Build (the main task)
- Calculate the file size in MB of each festival recording, showing every step: A) a 30-second voice note at 8,000 Hz, 8-bit; B) a 2-minute clip at 44,100 Hz, 16-bit; C) a 5-minute live set at 22,050 Hz, 8-bit. State which recordings fit the app's 10 MB limit, and suggest one setting change that would let the others fit.
- Support version
- Part-filled method table: sample rate × bit depth × seconds, ÷ 8, ÷ 1,000, ÷ 1,000, with the voice note done.
- Challenge
- Work out the longest clip that fits in 10 MB at 44,100 Hz and 16 bits, and explain how stereo would change it.
- Real-world link
- Live clips must stay under the app's 10 MB limit so fans can download them on site.
- Key words
- Hertz (Hz), Duration and Calculate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “A 2-minute recording has a duration of 2 in the formula”; “44.1 kHz means 44.1 samples each second”.
- 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 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.