OCR J277 GCSE Computer Science · 1.2 Memory and Storage
Stretch tasks Storing Sound
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each term card to its meaning card.
- 12 cards: each term has a meaning
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
Sort It
Sort each statement into the right box, like the tick-box tables in the exam.
- 10 cards to sort into 2 boxes
- Drag a card, tap a box or press its number
- Combo points for cards sorted in a row
10 cards, about 4 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: Storing Sound
Storing Sound: the questions
Quiz Challenge, round 1: Quiz Blitz
What is sampling?
- Compressing a sound file
- Measuring a sound wave's amplitude at regular intervals
- Recording the whole wave exactly
- Making a sound louder
What is sample rate?
- The number of samples taken each second
- The number of bits in each sample
- The length of the recording
- The volume of the sound
What is bit depth?
- The number of speakers
- The loudness of the sound
- The number of bits stored for each sample
- The number of samples per second
A digital recording is an exact copy of the original sound.
- True
- False
How many seconds are in a 3 minute song?
What unit is sample rate measured in?
- Decibels
- Hertz
- Bits
- Bytes
Which TWO make a sound file larger?
Tick 2.
- A shorter recording
- Recording in mono instead of stereo
- A lower bit depth
- A higher sample rate
- A higher bit depth
How many amplitude levels does a bit depth of 8 give?
A recording is made in stereo. What does that do to the file size?
- Nothing
- Doubles it
- Halves it
- Squares it
Put the steps of recording sound in order.
Number these 1 to 4.
- Each measurement is rounded to the nearest level
- The value is stored in binary
- A microphone turns the sound into an electrical signal
- An analogue to digital converter measures the signal
A higher sample rate makes a sound louder.
- True
- False
Which setting is about how precisely each sample is measured?
- Sample rate
- Duration
- File format
- Bit depth
Quiz Challenge, round 2: Quick Fire
Explain the difference between sample rate and bit depth. [2 marks]
Explain why increasing the sample rate improves sound quality. [2 marks]
Describe how sound is turned into a digital form. [3 marks]
Give one effect on quality and one effect on file size of reducing the bit depth of a recording. [2 marks]
Quiz Challenge, round 3: Big Think
A 3 minute song is recorded at 44,100 Hz with a bit depth of 16, in mono. Calculate the file size in megabytes. Show your working. [4 marks]
A podcast is recorded with a low sample rate and a low bit depth to keep the file small. Explain the effect of these settings on the sound, and what would change if both were increased. [6 marks]
This or That: tick the right answer
CD quality is 44,100 Hz. What does that mean?
- 44,100 samples every second
- 44,100 bits in each sample
Which keeps quieter details in a recording?
- A higher bit depth
- A lower bit depth
Sample rate works along which axis of a sound wave?
- Time
- Amplitude
Which is analogue?
- An MP3 file
- A sound wave in the air
What must you do with a song's length in minutes before a file size calculation?
- Turn it into hours
- Turn it into seconds
How many levels does a bit depth of 16 give?
- 65,536
- 16
What does an analogue to digital converter do?
- Measures the signal and outputs binary
- Plays sound through a speaker
Doubling the sample rate does what to the file size?
- Doubles it
- Quadruples it
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
| A Sampling | 1 Continuously varying, like real sound |
| B Sample rate | 2 The height of the wave: its loudness |
| C Bit depth | 3 Measuring a wave at regular intervals |
| D Amplitude | 4 Measurements taken each second, in hertz |
| E Analogue | 5 Two channels, so twice the data |
| F Stereo | 6 Bits stored for each measurement |
Sort It: tick one box in each row
Sample rate or bit depth?
| Statement | Sample rate | Bit depth |
|---|---|---|
| Measured in hertz | ||
| How many samples are taken each second | ||
| Raising it keeps quiet details | ||
| Works along the time axis | ||
| Raising it records each measurement more precisely | ||
| 16 of these give 65,536 levels | ||
| Works along the amplitude axis | ||
| Raising it captures higher frequencies | ||
| How many bits store each sample | ||
| CD quality uses 44,100 of these |
Answers
Round 1: Quiz Blitz
- Measuring a sound wave's amplitude at regular intervals Each measurement is rounded and stored in binary, giving a list of numbers that approximates the wave.
- The number of samples taken each second Sample rate is how often you measure, in hertz.
- The number of bits stored for each sample Bit depth is how precisely each measurement is recorded.
- False Samples are taken at intervals and rounded to fixed levels, so it is always an approximation.
- 180 3 x 60 = 180. Always convert minutes to seconds before a sound calculation.
- Hertz Hertz means per second: 44,100 Hz is 44,100 samples every second.
- A higher sample rate; A higher bit depth File size is sample rate x duration x bit depth, so raising either one grows the file.
- 256 2 to the power 8 is 256 levels.
- Doubles it Stereo has two channels, so there is twice as much data.
- A microphone turns the sound into an electrical signal → An analogue to digital converter measures the signal → Each measurement is rounded to the nearest level → The value is stored in binary Microphone, converter, rounding, then binary.
- False It makes the recording more accurate, not louder.
- Bit depth Sample rate is how often. Bit depth is how precisely.
Round 2: Quick Fire
- Sample rate is the number of samples taken per second
- Bit depth is the number of bits used to store each sample
Model answerSample rate is the number of samples taken per second. Bit depth is the number of bits used to store each sample.
- Samples are taken more often, closer together
- So the digital version follows the original wave more accurately
Model answerMore samples are taken each second, so they are closer together and the digital version follows the shape of the original wave more accurately.
- A microphone turns the sound into an electrical signal
- The amplitude is measured at regular intervals
- Each measurement is rounded and stored in binary
- By an analogue to digital converter
Model answerA microphone turns the sound into an electrical signal. An analogue to digital converter measures its amplitude at regular intervals, and each measurement is rounded to the nearest level and stored in binary.
- Each sample is less precise, so quality falls
- A smaller file
Model answerEach sample is stored less precisely, with fewer levels, so the quality is lower. The file is smaller.
Round 3: Big Think
- 3 x 60 = 180 seconds
- 44,100 x 180 x 16 = 127,008,000 bits
- Divide by 8: 15,876,000 bytes
- Divide by 1000 twice: 15.876 MB
Model answer3 x 60 = 180 seconds. 44,100 x 180 x 16 = 127,008,000 bits. 127,008,000 / 8 = 15,876,000 bytes. 15,876,000 / 1000 = 15,876 KB, and 15,876 / 1000 = 15.876 MB.
- Low sample rate: fewer samples per second, further apart
- So the wave's shape is followed roughly, losing higher frequencies
- Low bit depth: fewer levels, so each amplitude is less precise
- So quiet details are lost
- Raising both makes the recording more accurate, with better quality
- But the file becomes larger, in proportion
- Digital sound is only ever an approximation of the analogue wave
Model answerA low sample rate means fewer samples per second, so the samples are further apart and the digital version follows the shape of the original wave only roughly: higher frequencies are lost and it sounds duller. A low bit depth means fewer levels for each measurement, so every amplitude is rounded less precisely and quiet details are lost. Digital sound is always an approximation of the analogue wave. If both settings were increased, the recording would be more accurate and closer to the original, giving better quality, but the file would be larger, because the size grows in proportion to the sample rate and the bit depth.
This or That
- 44,100 samples every second Hertz is per second, so that is 44,100 measurements each second.
- A higher bit depth More bits per sample give more levels, so small changes in amplitude survive.
- Time Sample rate is how often you measure. Bit depth works up the amplitude axis.
- A sound wave in the air A real sound wave varies continuously. An MP3 is a list of binary numbers.
- Turn it into seconds Sample rate is per second, so the duration must be in seconds too.
- 65,536 2 to the power 16 is 65,536.
- Measures the signal and outputs binary It samples the electrical signal from the microphone and outputs binary values.
- Doubles it File size grows in proportion to the sample rate.
Memory Match
- A 3 Sampling: Measuring a wave at regular intervals
- B 4 Sample rate: Measurements taken each second, in hertz
- C 6 Bit depth: Bits stored for each measurement
- D 2 Amplitude: The height of the wave: its loudness
- E 1 Analogue: Continuously varying, like real sound
- F 5 Stereo: Two channels, so twice the data
Sort It
- Sample rate Measured in hertz Hertz means per second: sample rate counts samples each second.
- Sample rate How many samples are taken each second That is the definition of sample rate.
- Bit depth Raising it keeps quiet details Small changes in amplitude are no longer rounded away.
- Sample rate Works along the time axis Sample rate is about how often you measure.
- Bit depth Raising it records each measurement more precisely More bits give more levels to round each sample to.
- Bit depth 16 of these give 65,536 levels 16 bits per sample give 2 to the power 16 levels.
- Bit depth Works along the amplitude axis Bit depth is about how precisely each height is recorded.
- Sample rate Raising it captures higher frequencies Samples closer together can follow faster changes in the wave.
- Bit depth How many bits store each sample That is the definition of bit depth.
- Sample rate CD quality uses 44,100 of these CDs take 44,100 samples every second.