Start with the recap, study the fully worked examples, then use the practice problems to
check your understanding of Audio Representation.
This page combines explanation, solved examples, and follow-up practice so you can move
from recognition to confident problem-solving in CS Thinking.
Concept Recap
Audio representation is the way a computer stores sound as numeric data. Digital audio is usually created by sampling a sound wave many times each second and storing each sample with a certain number of bits.
Digital sound is a long list of measurements of a wave taken again and again over time.
Read the first worked example with the solution open so the structure is clear.
Try the practice problems before revealing each solution.
Use the related concepts and background knowledge badges if you feel stuck.
What to Focus On
Core idea:Sound quality depends on how often the wave is sampled and how precisely each sample is stored.
Common stuck point:A higher sample rate is not the same as a louder sound. It means the waveform is measured more often.
Sense of Study hint:Look at three values: sample rate, bit depth, and number of channels. Those values tell you how much information is stored each second before compression.
Worked Examples
Example 1
medium
A 20-second mono clip at 16000 Hz with 8-bit samples: file size in kilobytes (1 KB=8000 bits)?
Answer
320 KB
First step
1
Bit rate =16000×8×1=128000 bps.
See the full worked solution + why-it-works coaching
Setup·Key insight·Why it works·Common pitfall·Connection
Clip A: 22050 Hz, 8-bit, mono. Clip B: same except 16-bit. By what factor is B larger than A?
Example 3
medium
Clip X: 44100 Hz, 16-bit, stereo for 60 s. Clip Y: 22050 Hz, 16-bit, mono for 60 s. By what factor is X larger than Y?
Example 4
hard
A podcast must fit 30 minutes of mono audio into 10 MB (1 MB=8,000,000 bits) at 16-bit. What is the maximum sample rate (Hz)?
Example 5
hard
Compare storage for 1 minute of audio at (A) 48000 Hz/24-bit/stereo vs (B) 16000 Hz/8-bit/mono. By what factor is A larger?
Example 6
hard
A scientist samples a vibration sensor at 1000 Hz, 12-bit, mono, for 5 minutes. Compute (a) total samples, (b) total bits, (c) total bytes.
Example 7
challenge
Explain why doubling sample rate alone improves time-resolution of transients but not the steady-state pitch of a 440 Hz tone.
Practice Problems
Try these problems on your own first, then open the solution to compare your method.
Example 1
easy
A sound is sampled 8000 times per second. What is its sample rate in hertz?
Example 2
easy
Each audio sample uses 16 bits. How many distinct amplitude levels can one sample represent?
Example 3
easy
A mono recording samples at 1000 Hz with 8-bit samples. What is the bit rate in bits per second?
Example 4
easy
How many channels does stereo audio store?
Example 5
easy
CD audio samples at 44100 Hz. How many samples are taken in 2 seconds (mono)?
Example 6
easy
If you increase the sample rate, what audio property improves?
Example 7
easy
A stereo clip samples at 100 Hz, 16-bit. What is its bit rate?
Example 8
easy
8-bit audio gives 256 amplitude levels. How many levels does 1 extra bit (9-bit) provide?
Example 9
medium
A 10-second mono clip at 8000 Hz with 8-bit samples: what is the file size in kilobytes (1 KB=8000 bits)?
Example 10
medium
CD-quality audio is 44100 Hz, 16-bit, stereo. Compute the bit rate in bits per second.
Example 11
medium
A 1-minute CD-quality stereo recording (44100 Hz, 16-bit, 2 ch) takes how many megabytes (1 MB=8,000,000 bits)?
Example 12
medium
To capture frequencies up to 20000 Hz, the Nyquist theorem requires a sample rate of at least what value?
Example 13
medium
Clip A samples at 22050 Hz, clip B at 44100 Hz, same bit depth, channels, and duration. How do their file sizes compare?
Example 14
medium
An MP3 reduces a 10 MB WAV to 1 MB. Does the playback contain the exact original samples? What kind of compression is this?
Example 15
medium
A telephone samples voice at 8000 Hz, 8-bit, mono. How many bytes for a 5-second call (1 byte =8 bits)?
Example 16
medium
Two systems both play a 440 Hz tone. System X samples at 8000 Hz, system Y at 48000 Hz. Which reproduces the waveform more accurately, and does sample rate change the tone's pitch?
Example 17
challenge
An audio engineer must fit 3 minutes of stereo audio into 5 MB (1 MB=8,000,000 bits). If bit depth is 16 and 2 channels, what maximum sample rate (Hz) is allowed?
Example 18
challenge
A 4-minute song is 40 MB as WAV and 4 MB as MP3. State the compression ratio, and explain why repeatedly re-encoding the MP3 degrades quality.
Example 19
challenge
Compare storage for 30 seconds of audio at (A) 44100 Hz/16-bit/stereo vs (B) 22050 Hz/8-bit/mono. By what total factor is A larger?
Example 20
medium
A 30-second mono clip at 8000 Hz, 16-bit needs how many kilobytes (1 KB=8000 bits)?
Example 21
easy
A sound is sampled 11025 times each second. What is its sample rate in Hz?
Example 22
easy
How many distinct amplitude levels does a 4-bit sample give?
Example 23
easy
A mono recording samples at 2000 Hz with 4-bit samples. What is the bit rate (bps)?
Example 24
easy
How many samples are taken in 3 seconds at 8000 Hz (mono)?
Example 25
easy
If a stereo file has 88200 samples per second per channel, what is the sample rate?
Example 26
easy
A stereo clip records at 100 Hz, 8-bit. What is the bit rate?
Example 27
easy
A digital audio file stores sound as what?
Example 28
medium
Studio audio at 48000 Hz, 24-bit, stereo. Compute its bit rate (bps).
Example 29
medium
A 30-second stereo recording at 44100 Hz, 16-bit. File size in megabytes (1 MB=8,000,000 bits)?
Example 30
medium
To capture frequencies up to 15000 Hz, what is the minimum sample rate by Nyquist?
Example 31
medium
Telephone audio: 8000 Hz, 8-bit, mono. How many bytes for a 10-second call?
Example 32
medium
A WAV file is 50 MB; the MP3 of the same song is 5 MB. State the compression ratio.
Example 33
medium
How does doubling the number of channels (mono → stereo) affect file size, all else equal?
Example 34
medium
A 5-minute stereo song at 44100 Hz, 16-bit. How many total samples (across both channels)?
Example 35
medium
A 60-second mono clip at 44100 Hz, 16-bit. Compute size in MB (1 MB=8,000,000 bits).
Example 36
medium
An engineer needs to halve the file size and is willing to drop bit depth. From 16-bit mono, what bit depth gives a 2× smaller file?
Example 37
hard
A recording at 8000 Hz tries to capture a 6000 Hz tone. Does it succeed? Why or why not?
Example 38
hard
A streaming service uses adaptive bit rate: on slow networks it drops from 320 kbps stereo to 96 kbps stereo. Is this lossy or lossless re-encoding, and what audio property suffers most?
Example 39
hard
A 44100 Hz, 16-bit, mono WAV is 10 MB. After lossless FLAC compression it's 6 MB. What is the compression ratio, and does FLAC change the sample values on playback?
Example 40
challenge
Two CDs hold the same song. CD-1 stores at 44100 Hz/16-bit/stereo (1411.2 kbps). CD-2 uses 5.1 surround at 48000 Hz/24-bit. Compute CD-2's bit rate (kbps).