Computer ScienceExam code: 0984
Text, Sound and Images
Data Representation
The standard exam formula for the size of an uncompressed sound file is:
file size (bits) = × × duration
where:
- sample rate is in hertz (samples per second)
- sample resolution is in bits per sample
- duration is in seconds
To convert to bytes, divide by 8 (since 1 byte = 8 bits). To convert to kibibytes (KiB), divide the bytes by 1024 (or the bits by 8 × 1024 = 8192): the syllabus says file-size calculations use 1024, never 1000, and the answer goes in the units the question asks for.
Quick check
3 short questions on this note. See what has stuck, and where to look if something hasn't.
About 1 minute