AQA 8525 GCSE Computer Science · 3.3 Fundamentals of Data Representation

Stretch tasks Representing Sound

Task 1

Quiz Challenge

A quiz game against four computer players, then short and long written answers.

  1. Quiz Blitz12 questions against the clock
  2. Quick Fire4 short answers
  3. Big Think2 long answers

About 20 minutes

Task 2

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

Task 3

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

Task 4

Sort It

Sort each statement into the right box, like the tick-box tables in the exam.

  • 12 cards to sort into 3 boxes
  • Drag a card, tap a box or press its number
  • Combo points for cards sorted in a row

12 cards, about 4 minutes

The games need JavaScript. Every question is below, with the answers at the end.

Read the lesson: Representing Sound

Representing Sound: the questions

Quiz Challenge, round 1: Quiz Blitz

  1. What is sampling?

    • Compressing the file
    • Measuring a wave's height at regular intervals
    • Recording the wave exactly
    • Making the sound louder
  2. What does AQA call the number of bits stored for each sample?

    • Sample resolution
    • Sample rate
    • Bit rate
    • Frequency
  3. How many samples per second is CD quality?

  4. Which formula gives a sound file's size in bits?

    • sample rate x sample resolution x duration
    • sample rate + sample resolution + duration
    • sample rate x duration
    • sample resolution x 8
  5. Increasing the sample rate gives a more precise measurement of loudness.

    • True
    • False
  6. A recording lasts 2 minutes. How many seconds is that?

  7. What does recording in stereo do to the file size?

    • Doubles it
    • Halves it
    • Nothing
    • Triples it
  8. How many levels does a 16-bit sample resolution give?

  9. Which sample rate is typical for telephone speech?

    • 44,100 Hz
    • 48,000 Hz
    • 96,000 Hz
    • 8000 Hz
  10. Which TWO make a recording more faithful to the original wave?

    Tick 2.

    • A shorter recording
    • Mono instead of stereo
    • A lower sample rate
    • A higher sample rate
    • A higher sample resolution
  11. Sampling captures a sound wave exactly.

    • True
    • False
  12. What is the difference between a wave's true height and the level recorded?

    • The error introduced by digitising
    • The sample rate
    • The file size
    • The duration

Quiz Challenge, round 2: Quick Fire

  1. Explain the difference between sample rate and sample resolution. [2 marks]

  2. Explain why digitised sound is only an approximation of the original. [2 marks]

  3. Give two ways to reduce the size of a sound file, and the effect each has. [2 marks]

  4. A one-minute mono clip is recorded at 8000 Hz with an 8-bit sample resolution. How many bytes is it? [2 marks]

Quiz Challenge, round 3: Big Think

  1. A 2 minute stereo recording is made at 44,100 Hz with a sample resolution of 16 bits. Calculate its size in megabytes. [4 marks]

  2. Explain how sample rate and sample resolution affect the quality and the size of a recording. [6 marks]

This or That: tick the right answer

  1. Which captures higher frequencies?

    • A higher sample resolution
    • A higher sample rate
  2. What unit is sample rate measured in?

    • Hertz
    • Bits
  3. Which controls detail in amplitude?

    • Sample rate
    • Sample resolution
  4. Which is analogue?

    • A WAV file
    • Sound waves in the air
  5. How many channels does stereo have?

    • 1
    • 2
  6. Why is music usually sold compressed?

    • Uncompressed audio takes tens of MB
    • Compressed music sounds louder
  7. A question says 3 minutes. What goes in the formula?

    • 3
    • 180 seconds
  8. An 8-bit sample resolution gives how many levels?

    • 256
    • 8

Memory Match: match each term to its meaning

TermMeaning
A Sampling1 Bits stored per measurement
B Sample rate2 CD quality
C Sample resolution3 Measurements per second, in hertz
D Analogue4 One stream of audio
E Channel5 Measuring a wave at regular intervals
F 44,100 Hz6 Has a value at every instant

Sort It: tick one box in each row

Does each change make a sound file bigger, smaller or no different?

StatementBiggerSmallerNo change
Raising the sample resolution from 8 to 16 bits
Playing it on better speakers
Playing it louder
Recording for twice as long
Copying it to another folder
Doubling the sample rate
Cutting the recording to half its length
Halving the sample rate
Using 8-bit instead of 16-bit samples
Switching from stereo to mono
Recording in stereo instead of mono
Renaming the file
Answers

Round 1: Quiz Blitz

  1. Measuring a wave's height at regular intervals Each measurement is recorded as a binary number.
  2. Sample resolution It is also called bit depth, but AQA uses sample resolution, so use it.
  3. 44100 CD quality is 44,100 Hz.
  4. sample rate x sample resolution x duration Duration must be in seconds, and stereo doubles it.
  5. False That is sample resolution. Sample rate is about how often you measure.
  6. 120 Always convert to seconds before using the formula.
  7. Doubles it Two channels means twice the data.
  8. 65536 2 to the power 16 is 65,536.
  9. 8000 Hz Speech needs far less detail than music.
  10. A higher sample rate; A higher sample resolution More often and more precisely: both cost more bits.
  11. False It approximates it. The difference is the error introduced by digitising.
  12. The error introduced by digitising More levels mean smaller rounding, so a smaller error.

Round 2: Quick Fire

    • Sample rate is how many samples are taken per second
    • Sample resolution is how many bits store each sample
    Model answer

    Sample rate is how many samples are taken per second, which is detail across time. Sample resolution is how many bits are used to store each sample, which is how precisely its height is recorded.

    • Samples are taken at intervals, missing what happens in between
    • Each sample is rounded to the nearest available level
    Model answer

    Samples are only taken at intervals, so whatever the wave does in between is missed, and each sample is rounded to the nearest available level.

    • Lower the sample rate or resolution, record in mono, or shorten it
    • The recording becomes less faithful to the original
    Model answer

    Lower the sample rate, or record in mono instead of stereo. Either makes the file smaller, but a lower sample rate makes the recording less faithful to the original.

    • 8000 x 8 x 60 = 3,840,000 bits
    • / 8 = 480,000 bytes
    Model answer

    8000 x 8 x 60 = 3,840,000 bits, and 3,840,000 / 8 = 480,000 bytes.

Round 3: Big Think

    • 2 minutes is 120 seconds
    • 44,100 x 16 x 120 = 84,672,000 bits per channel
    • x 2 for stereo = 169,344,000 bits
    • / 8, then / 1000 twice = 21.168 MB
    Model answer

    Duration = 2 x 60 = 120 seconds. 44,100 x 16 x 120 = 84,672,000 bits for one channel. Stereo doubles it: 169,344,000 bits. 169,344,000 / 8 = 21,168,000 bytes, which is 21,168 kB, or 21.168 MB.

    • Sample rate is how many samples are taken per second
    • A higher rate follows the wave more closely and keeps higher frequencies
    • Sample resolution is the bits stored for each sample
    • More bits give more levels, so smaller rounding errors
    • Doubling either setting doubles the file
    • Size grows in proportion, from the size formula
    Model answer

    Sample rate is how many samples are taken per second. A higher rate gives narrower steps, so the digital version follows the original wave more closely and higher frequencies survive. Sample resolution is the number of bits used for each sample. More bits give more levels, 65,536 for 16 bits, so each height is rounded less and the recording is more faithful. But the size formula multiplies both settings together, so the file grows in proportion: doubling either one doubles the file.

This or That

  1. A higher sample rate Measuring more often lets faster changes in the wave survive.
  2. Hertz Samples per second, in hertz.
  3. Sample resolution Resolution is how precisely each height is recorded.
  4. Sound waves in the air A real sound wave has a value at every instant.
  5. 2 Mono has one channel.
  6. Uncompressed audio takes tens of MB A few minutes at CD quality runs to tens of megabytes.
  7. 180 seconds The formula needs the duration in seconds.
  8. 256 2 to the power 8 is 256.

Memory Match

  • A 5 Sampling: Measuring a wave at regular intervals
  • B 3 Sample rate: Measurements per second, in hertz
  • C 1 Sample resolution: Bits stored per measurement
  • D 6 Analogue: Has a value at every instant
  • E 4 Channel: One stream of audio
  • F 2 44,100 Hz: CD quality

Sort It

  1. Bigger Raising the sample resolution from 8 to 16 bits Every sample needs twice the bits.
  2. No change Playing it on better speakers The file is the same whatever plays it.
  3. No change Playing it louder Volume on playback does not change the stored data.
  4. Bigger Recording for twice as long Twice the seconds, twice the samples.
  5. No change Copying it to another folder A copy holds exactly the same data.
  6. Bigger Doubling the sample rate Twice as many samples to store.
  7. Smaller Cutting the recording to half its length Half the duration.
  8. Smaller Halving the sample rate Half as many samples.
  9. Smaller Using 8-bit instead of 16-bit samples Half the bits for each sample.
  10. Smaller Switching from stereo to mono One channel instead of two.
  11. Bigger Recording in stereo instead of mono Two channels instead of one.
  12. No change Renaming the file The samples are unchanged.