AQA A-Level Computer Science Paper 2, June 2025: Question 2

8 marks · Medium difficulty · Short Answer

Calculate sound sample resolution from file size and sampling parameters, describe ADC operation, explain inaccuracy in digital sound recording, and explain why MIDI uses less storage.

Practise this question

Question

Question 02 has four parts: 02.1 asks to calculate the sample resolution in bits for a 1.5 megabyte sound file with a duration of 50 seconds recorded at 20,000 Hz; 02.2 asks to describe the principles of operation of an analogue to digital converter (ADC); 02.3 asks to explain one reason why a digital sound file recorded using sampling may not accurately represent the original analogue signal; 02.4 asks to explain why a MIDI file requires less storage space than sampled sound.
Question text

02.1 A sound file, produced by sampling sound, requires 1.5 megabytes of storage space.

The sound file has a duration of 50 seconds and was recorded at a sample rate of

20 000 samples per second (Hertz).

Calculate the sample resolution that was used when the sound was sampled.

[2 marks]

Answer bits

02.2 Describe the principles of operation of an analogue to digital converter (ADC).

[2 marks]

02.3 Explain one reason why a digital sound file that has been recorded using

sampling may not accurately represent the original analogue signal produced by

the microphone.

[2 marks]

02.4 One advantage of representing a piece of music using MIDI instead of as sampled

sound is that the file produced requires less storage space.

Explain why.

[2 marks]

Mark scheme

Show the mark scheme Mark scheme for Question 02 in four sections: 02.1 awards 2 marks for answer 12 bits from 1.5 * 1000 * 1000 * 8 = 50 * 20000 * resolution (1 mark for any 3 steps); 02.2 awards 2 marks for sampling analogue signal at regular intervals, measuring amplitude/voltage, and quantising/encoding into binary; 02.3 awards 2 marks for explaining either low sample resolution/quantisation error, low sampling rate not meeting Nyquist's theorem, or lossy compression; 02.4 awards 2 marks for explaining MIDI stores event/instruction messages rather than raw sampled amplitudes and requires far fewer events over time.

Total

Qu Pt Marking guidance

marks

02 1 Marks are AO2 (apply) 2

2 marks for correct final answer: 12

Required calculation:

1.5 × 1000 × 1000 × 8 = 50 × 20 000 × sample resolution

If answer is incorrect award 1 mark for completing any three of these steps:

• multiplying by 1.5

• multiplying by 1000

• multiplying by 1000

• multiplying by 8

Note that:

• multiplying 20 000 by 50 is two steps

• including 1 000 000 is equivalent to two steps (1000 × 1000 or 50 × 20 000)

• including 1 500 000 is equivalent to three steps (1.5 × 1000 × 1000)

• including 8 000 000 is equivalent to three steps (1000 × 1000 × 8)

Total

Qu Pt Marking guidance

marks

02 2 Marks are AO1 (knowledge) 2

1 mark: 1 or 2 points made from list below.

2 marks: All 3 points made from list below.

• (Analogue) signal/wave (A. sound as BOD) sampled at fixed/regular time

intervals.

R. references to graphs

• Amplitude/voltage of signal/wave (R. sound) (at each sample point) measured.

• Measurement coded into a fixed number of bits // coded in binary

A. measurement is quantised – A-LEVEL COMPUTER SCIENCE – –

A. measurement rounded to nearest representable / nearest discrete value

Total

Qu Pt Marking guidance

marks

02 3 Marks are AO1 (understanding) 2

Alternative 1

Sample resolution used is too low // not enough bits used to represent each

sample (accurately);

The number of distinct amplitudes that can be represented is too low;

A. by example

Amplitude of each sample will be rounded/truncated when converted into binary // 9

quantisation error occurs // difference between actual amplitude and recorded

amplitude may be too big;

NE. represented in binary / discretely / digitally

OR

Alternative 2

The sampling rate is too low // samples have not been taken frequently enough //

not enough samples taken;

The sampling rate does not satisfy Nyquist’s theorem;

Amplitude between sample points will have to be interpolated/approximated

(when played back);

NE. amplitude between samples not recorded

2 marks: The sampling rate may not be at least twice the frequency of the

(highest frequency component in the) original signal (A. sound);;

OR

Alternative 3

Lossy compression may have been applied to the data;

Some frequency components will have been removed // the range of frequencies

that are represented may be reduced // bandwidth may be reduced // stereo

imagery may be reduced // the sampling rate/sample resolution may have been

reduced (by the compression);

Marks can only be awarded for one of Alternative 1, Alternative 2 or

Alternative 3, not a mix of alternatives.

If student explains more than one reason then award marks for the

alternative that would achieve the highest number of marks.–A-LEVELCOMPUTER SCIENCE – –

Max 2

Total

Qu Pt Marking guidance

marks

02 4 Marks are AO1 (understanding) 2

MIDI stores information about the events (A. notes, sounds) that a sound is

composed of;

10 A. MIDI files contain instructions to generate the sound

A. MIDI files represent data as event messages

A piece of music is likely to be composed of (A. will be composed of far) fewer

events (A. notes, sounds) than the number of samples (A. measurements) that

would be needed to record it // events (A. notes, sounds) may last for a long time

(A. examples of a time that is long compared to the sampling rate eg a second,

half a second);

A. likely to be thousands of samples taken per second

MIDI stores the detailed representation of each note (A. sound) in (separate)

libraries;

NE. repeated notes/sounds stored only once

Max 2

How to answer it

Sound Representation, Sampling & MIDI

📌 What this question tests

This question assesses your core knowledge of digital audio representation from Specification Topic 3.3 (Data Representation):

  • Calculating sample resolution given file size, sample rate, and audio duration (AO2).
  • Describing the precise mechanical steps of an Analogue-to-Digital Converter (ADC) (AO1).
  • Explaining factors affecting sound fidelity (sample resolution, quantisation error, sample rate, and the Nyquist theorem) (AO1).
  • Comparing vector-like event encoding in MIDI against sampled pulse-code audio files (AO1).
Question 02.1 • 2 Marks

Sample Resolution Calculation

Calculate sample resolution for a 1.5 megabyte file, 50s duration, sampled at 20 000 Hz.

📐 Step-by-Step Calculation

  1. Identify the core formula:
    File size (bits) = Sample Rate × Duration × Sample Resolution
  2. Convert file size to bits:
    AQA uses standard decimal prefixes ( 1 MB = 1 000 000 bytes ).
    Total bits = 1.5 × 1 000 × 1 000 × 8 = 12 000 000 bits
  3. Calculate total samples taken:
    Total samples = 20 000 Hz × 50 s = 1 000 000 samples
  4. Solve for sample resolution:
    Sample resolution = 12 000 000 bits / 1 000 000 samples = 12 bits

✅ Correct Answer & Marking

Answer: 12 bits (or simply 12 )

Mark allocation:
• 2 marks: Correct final answer of 12.
• 1 mark (method): If final answer is wrong, 1 mark is awarded for correctly carrying out any three steps out of: multiplying by 1.5, multiplying by 1000, multiplying by 1000, multiplying by 8 (or multiplying 20 000 by 50).

❌ Common Errors

  • Forgetting to multiply by 8: Calculating bytes per sample instead of bits per sample yields 1.5 bytes, which loses the final mark if not converted to 12 bits.
  • Binary vs Decimal prefixes: Using 1024 × 1024 instead of 1000 × 1000. In AQA questions, unless "mebibytes (MiB)" is specified, use SI decimal multipliers (10⁶).

🧠 Exam Technique

Always show each line of rearrangement clearly. If you make an arithmetic error at the very end, examiners will credit intermediate multiplications (e.g. converting megabytes to bits) to salvage 1 mark.

Question 02.2 • 2 Marks

Principles of Operation of an ADC

Describe the principles of operation of an analogue-to-digital converter (ADC).

💡 The 3 Essential Stages of ADC

An ADC converts a continuous analogue physical wave into a sequence of binary digits via three successive actions:

  1. Sampling: The analogue signal/wave is sampled at regular, fixed time intervals.
  2. Measurement: The amplitude (or voltage) of the wave is measured at each sample point.
  3. Quantisation & Encoding: The measured amplitude is quantised (rounded to the nearest representable discrete level) and coded into a fixed number of binary bits.

✅ Mark Scheme Requirements

Marks are awarded based on how many of the three stages are described:

  • 2 marks: All 3 key points fully covered.
  • 1 mark: 1 or 2 key points covered.
Examiner acceptances:
• "Sound" is accepted for the wave in step 1 (benefit of doubt), but not in step 2 (must refer to the electrical amplitude/voltage).
• "Quantised" or "rounded to nearest representable value" is accepted for step 3.

❌ Common Errors & Misconceptions

  • Vague descriptions: Writing "it turns sound into 1s and 0s" gets 0 marks. You must mention regular time intervals and measuring amplitude.
  • Mentioning graphs: The mark scheme explicitly states: "Reject references to graphs" (e.g. "plotting the wave on a graph"). ADCs are hardware circuits, not graphing tools!
Question 02.3 • 2 Marks

Inaccuracies in Sampled Sound

Explain one reason why a sampled digital sound file may not accurately represent the original analogue signal.

✅ Three Valid Approaches (Choose ONE only)

You must stick to one cause and give a complete explanation (1 mark for cause, 1 mark for consequence):

Route A: Sample Resolution is too low

  • Not enough bits are allocated per sample point (1 mark).
  • This causes quantisation error: amplitudes must be rounded to the nearest discrete binary level, leading to a discrepancy between actual and recorded values (1 mark).

Route B: Sampling Rate is too low (Nyquist Theorem)

  • Samples are not taken frequently enough / does not satisfy Nyquist's theorem (1 mark).
  • The sampling rate is less than twice the highest frequency present, meaning high-frequency details are lost or aliased; values between samples must be approximated (1 mark).

Route C: Lossy Compression

  • Lossy compression has been applied (1 mark).
  • Frequencies outside normal hearing ranges or quieter sounds are permanently removed (1 mark).

🧠 Exam Technique & Examiner Notes

Crucial Rule: Marks can only be awarded for points within the same alternative. Mixing points (e.g. mentioning low sample rate and then explaining rounding of amplitudes) will prevent you from getting 2 marks.
  • If you mention Nyquist's theorem directly: stating "the sampling rate is not at least twice the frequency of the highest frequency component" secures both marks immediately.
  • Not Enough: Saying "the sound is digital and not analogue" or "it is converted to binary" is too vague to gain credit.
Question 02.4 • 2 Marks

MIDI vs Sampled Audio Storage Size

Explain why a piece of music stored as MIDI requires significantly less storage space than sampled sound.

💡 MIDI vs Sampled Audio Principles

  • Sampled Audio (e.g. WAV/MP3): Stores thousands of amplitude snapshots per second (e.g. 44 100 measurements every single second), irrespective of whether a note changes or is silent.
  • MIDI (.mid): Does not store audio waves. It is an event-based control protocol. It only records instructions (pitch, note on, note off, velocity, duration, instrument channel).

✅ Model Answer [2 Marks]

Award 1 mark for each distinct concept:

  1. Event Instructions (1 mark): MIDI does not record audio waves; it stores event messages / instructions explaining how to recreate the sound (e.g. note pitch, duration, velocity).
  2. Frequency of Data Points (1 mark): A piece of music contains far fewer musical events (notes) than the thousands of samples per second required to record continuous audio. Individual notes can sustain for seconds with only two messages (Note On and Note Off).

❌ Common Examiner Traps

  • "Repeated sounds are stored only once": Marked as Not Enough (NE). MIDI synthesizers reference instruments in separate patch banks, but simply writing that duplicate notes are stored once does not explain why MIDI is smaller overall.
  • Confusing MIDI with MP3: MIDI does not use psychoacoustic compression or remove inaudible frequencies. It is not an audio recording at all.

🧠 Top Tip for Full Marks

Contrast events with samples. Writing: "MIDI stores event instructions (like pitch and note duration) rather than raw sound, and musical pieces consist of far fewer note events than the tens of thousands of samples taken every second in sampled audio" is an examiner-favourite response that guarantees 2/2.

Topics

4.5 Fundamentals of data representation · 4.5.3 Units of information · 4.5.6 Representing images, sound and other data

Question and mark scheme from the AQA A-Level Computer Science examination, Paper 2, June 2025. QuestionVault is an independent revision resource; questions remain the copyright of the awarding body.