Sound file size in the unit asked

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

This Sound file size in the unit asked worksheet is part of the IGCSE Computer Science 0478 — 1.3 Data Storage and Compression journey. Print it as a booklet?

Sound file size in the unit asked

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A sound file is 65,536 bits. What is its size in bytes?
A 524,288 bytes
B 8,192 bytes
2. A sound file is 16,384 bytes. What is its size in KiB?
A 16 KiB
B 2,048 KiB
3. Which working changes a sound size in bits into MiB?
A bits ÷ 8 ÷ 1024 ÷ 1024
B bits ÷ 8 ÷ 1024
4. A sound is 7,680,000 bits. What is its size in KiB?
A 7,500 KiB
B 937.5 KiB
5. A sound is 3,145,728 bytes. What is its size in MiB?
A 3 MiB
B 3,072 MiB

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1bits / 8 / 1024 AConverts a sound size in bits to KiB: bits to bytes, then bytes to KiB
2bits / 8 / 1024 / 1024 B32000 * 16 * 240 / 8 / 1024 / 1024
3To give a sound size in KiB, first divide the bits by 8 to get bytes, then divide by 1024 CMisses the divide by 8 step, so the bits never become bytes. It should be bits / 8 / 1024 / 1024.
4Worked example: 32 kHz, 16-bit, 4 minutes. Change to Hz and seconds, multiply, then divide by 8 and by 1024 twice for MiB (about 14.65 MiB) DKiB = bits / 8 / 1024
5KiB = bits / 8 / 1000 EConverts a sound size in bits to MiB: bits to bytes, KiB, then MiB
6MiB = bits / 1024 / 1024 FDivides by 1000 instead of 1024. Each step up the storage unit ladder uses 1024, so it should be bits / 8 / 1024.

Definitions

bits / 8 / 1024

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
bytes = bits / _
2.
kib = _____ / 1024
3.
mib = kib _ 1024
4.
seconds = 2 * __ bits = 44100 * 16 * seconds mib = bits / 8 / 1024 / 1024
5.
hz = 44 * ____ bits = hz * 16 * 60 mib = bits / 8 / 1024 / 1024

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A bits = 44100 * 16 * 60
B bytes = bits / 8
C KiB = bytes / 1000
D OUTPUT KiB
Question 2
A bits = 8000 * 8 * 10
B bytes = bits * 8
C KiB = bytes / 1024
D print(KiB)
Question 3
A bits = 44100 * 16 * 120
B bytes = bits / 8
C KiB = bytes / 1024
D MiB = KiB / 8
E OUTPUT MiB
Question 4
A rate = 44.1 * 1000
B secs = 3 * 100
C bits = rate * secs * 16
D OUTPUT bits
Question 5
A rate = 8 * 100
B secs = 2 * 60
C bits = rate * secs * 16
D OUTPUT bits

Answer Key

Sound file size in the unit asked
Section A: Quick Questions
Q1
B — 8,192 bytes
Q2
A — 16 KiB
Q3
A — bits ÷ 8 ÷ 1024 ÷ 1024
Q4
B — 937.5 KiB
Q5
A — 3 MiB
Section B: Match the Pairs
Q1
bits / 8 / 1024 → Converts a sound size in bits to KiB: bits to bytes, then bytes to KiB
Q2
bits / 8 / 1024 / 1024 → Converts a sound size in bits to MiB: bits to bytes, KiB, then MiB
Q3
To give a sound size in KiB, first divide the bits by 8 to get bytes, then divide by 1024 → KiB = bits / 8 / 1024
Q4
Worked example: 32 kHz, 16-bit, 4 minutes. Change to Hz and seconds, multiply, then divide by 8 and by 1024 twice for MiB (about 14.65 MiB) → 32000 * 16 * 240 / 8 / 1024 / 1024
Q5
KiB = bits / 8 / 1000 → Divides by 1000 instead of 1024. Each step up the storage unit ladder uses 1024, so it should be bits / 8 / 1024.
Q6
MiB = bits / 1024 / 1024 → Misses the divide by 8 step, so the bits never become bytes. It should be bits / 8 / 1024 / 1024.
Section C: Definitions
Q1
bits / 8 / 1024 — Divide the sound size in bits by 8 to get bytes, then by 1024 to get KiB. Divide by 1024 again to get MiB. Stop at the unit the question asks for.
Section D: Fill in the Blanks
Q1
bytes = bits / 8
Q2
kib = bytes / 1024
Q3
mib = kib / 1024
Q4
seconds = 2 * 60 bits = 44100 * 16 * seconds mib = bits / 8 / 1024 / 1024
Q5
hz = 44 * 1000 bits = hz * 16 * 60 mib = bits / 8 / 1024 / 1024
Section E: Spot the Error
Q1
C — Storage units step up by 1024, not 1000. To go from bytes to KiB you divide by 1024, so the line should be KiB = bytes / 1024.
Q2
B — There are 8 bits in a byte, so going from bits to bytes means dividing by 8, not multiplying. It should be bytes = bits / 8.
Q3
D — The step from KiB to MiB is a division by 1024. Dividing by 8 is only for the bits to bytes step. It should be MiB = KiB / 1024.
Q4
B — There are 60 seconds in a minute, so 3 minutes is 3 * 60 seconds. The line should be secs = 3 * 60.
Q5
A — 1 kHz is 1000 Hz (samples per second), so 8 kHz is 8 * 1000. The line should be rate = 8 * 1000.