Cover lesson · Computer Science · Year 10 · Intermediate

Calculating file sizes for a school podcast

LNF: Numeracy → Understanding the number system helps us to represent and compare relationships between numbers and quantities → Calculation

Name: Class: Date:

Cover teacher: you need no subject knowledge

What this practises: numeracy in Computer Science. Pupils multiply large numbers to find image and sound file sizes, divide by 8 and 1,024 to convert units, find a percentage reduction, and use proportion to predict how a file changes without starting again. This builds towards GCSE Computer Science Unit 1, Section 1.2.1 (calculating image and sound file sizes, units and compression).

Print: this sheet, one per pupil, and the stimulus sheet “Radio Nant Gwyrdd: will episode 1 fit?”, one between two. Every pupil needs a calculator. No computers are needed.

Run: 5 min read the stimulus and do Step 1 · 10 min Step 2, images · 10 min Step 3, sound · 10 min Step 4, will it fit? · 10 min Step 5, what if? · 5 min success criteria. Total 50 minutes.

Collect: this sheet. The worked example has every answer. Checkpoints: the thumbnail is exactly 900 KB; the interview is 30.28 MB; the whole episode is about 40.9 MB, so it does not fit, but with the audio compressed it is about 10.0 MB, which does.

What you are doing

Ela needs to know if Episode 1 of Radio Nant Gwyrdd will upload. You will work out the size of every file from the numbers that describe it, convert the sizes into sensible units and decide what she should do. Round final answers to 2 decimal places, but keep full numbers on your calculator until the end.

Step 1: units warm-up

QuestionAnswer
How many bits are in 3 bytes?
How many bytes are in 2 KB?
How many KB are in 5 MB?
4,096 bytes is how many KB?
How many bytes are in 1 MB?

Step 2: images

ImageWorking in bitsBytesKBMB
Thumbnail
Logo
Cover art

(b) Which unit is the most sensible for each image? Why?

Step 3: sound

SoundWorking in bitsBytesKBMB
Jingle
Interview

(b) The interview is 12 minutes. What number of seconds did you use? Why must you change minutes to seconds?

Step 4: will it fit?

(a) Find the size of the whole episode file: 2 jingles, the interview and the cover art. Does it fit in 25 MB?

(b) Ela compresses the audio only, at 8 : 1. Find the new size of the audio, then the new size of the episode. Does it fit now?

(c) By what percentage has compression reduced the size of the audio?

Step 5: what if?

Use proportion: do not start each calculation again. Start from your interview size in Step 3.

If the interview was recorded…New size (MB)How I know
at 44,100 Hz instead of 22,050 Hz
in stereo instead of mono
at 8 bits instead of 16 bits
for 6 minutes instead of 12

(b) Harri divides the interview’s bytes by 1,000,000 and gets a different number of MB from you. Work out his answer and explain why the two answers differ.

Step by step

  1. 5 min Read the stimulus. Step 1: units warm-up.
  2. 10 min Step 2: image file sizes.
  3. 10 min Step 3: sound file sizes.
  4. 10 min Step 4: will the episode fit?
  5. 10 min Step 5: what if?
  6. 5 min Tick the success criteria you have met.

Success criteria

If you finish early