Analogue and digital — AQA A-Level Computer Science
Analogue data represents continuous physical signals with infinite possible values, whereas digital data stores information in discrete binary states of 0s and 1s. To process real-world signals, computers rely on Analogue-to-Digital Converters (ADCs) that sample and quantise continuous waveforms according to the Nyquist theorem.
Analogue and digital explained
Analogue data is continuous: it can take any value within a range, such as the varying voltage from a microphone or the smooth change of temperature.
Read the full explanation
Digital data is discrete: it is stored as a finite set of values, usually binary digits, such as a sample of a sound wave recorded as a series of numbers. Understanding the difference means recognising that analogue signals can have infinitely many possible values between two points, whereas digital data has a fixed, countable set of values. A learner should be able to explain why digitising an analogue signal involves sampling and quantisation, which introduce approximation, and to identify which everyday examples are analogue (a mercury thermometer reading) and which are digital (a number displayed on a digital clock). Always name the defining feature, continuous or discrete, when comparing the two.
Your focus
- Understand the difference between analogue and digital:
Which command word is this?
Perform a mathematical computation. Always set out every formula step and express the result in the requested units (e.g., MiB or bits per second).
Analogue and digital exam tips
Topic Overview
Analogue data is continuous and infinitely variable, mirroring natural phenomena such as sound waves, ambient temperature, and electrical voltage. In contrast, digital computer architectures operate strictly on discrete binary values consisting of finite combinations of ones and zeros.
Bridging these realms requires Analogue-to-Digital Converters (ADCs) for input and Digital-to-Analogue Converters (DACs) for output. Understanding the trade-offs between sampling rate, sample resolution, quantisation distortion, and storage overhead forms a foundational element of AQA A-Level Computer Science hardware and data representation modules.
Key Concepts
- →Analogue vs Digital: Analogue signals are continuous in time and amplitude; digital signals are discrete in both time and amplitude.
- →Analogue-to-Digital Conversion (ADC): Samples an analogue voltage at fixed periodic intervals, quantising continuous values into discrete binary approximations.
- →Sample Rate and Sample Resolution: Sample rate (Hz) measures samples taken per second; sample resolution (bits) dictates the number of distinct amplitude levels measurable.
- →Nyquist Theorem: States that the sampling frequency must be at least double the highest frequency in the input signal to prevent aliasing.
- →Quantisation Error: The difference between the actual continuous analogue signal amplitude and the discrete value assigned by the ADC bit depth.
Marking Points
- Defines analogue data as continuous, able to take any value within a range.
- Defines digital data as discrete, represented by a finite set of values, usually binary.
- Gives a correct analogue example, such as the voltage from a microphone.
- Gives a correct digital example, such as a number stored as binary.
- Explains that digitising an analogue signal introduces approximation through sampling and quantisation.
Examiner Tips
- 💡Use the words continuous and discrete explicitly in your answer.
- 💡Give a specific example for each type rather than a general statement.
- 💡When asked about the difference, compare both types in the same sentence to show contrast.
- 💡Show all multiplication and unit conversions explicitly in audio calculation questions; AQA awards method marks even if a minor arithmetic error occurs at the end.
- 💡In theoretical conversion questions, explicitly walk through the sequence: continuous signal -> band-limiting filter -> periodic sampling -> quantisation -> binary encoding.
Common Mistakes
- Describes digital data as the same as analogue data but stored on a computer; correct by stating digital data is discrete.
- Treats analogue as meaning old or obsolete; correct by focusing on continuous versus discrete values.
- Says digital data is always more accurate than analogue; correct by noting digitising introduces approximation.
- Believing that increasing the bit depth captures higher frequencies; in reality, bit depth improves amplitude precision and reduces quantisation noise, while sample rate determines frequency response.
- Assuming analogue formats are inherently inferior; analogue data contains theoretically infinite detail, but digital formats offer superior noise resistance, lossless reproduction, and simplified algorithmic processing.
- Using decimal prefixes (1000) instead of binary prefixes (1024) when computing audio file sizes in KiB or MiB for AQA exam questions.
Revision Plan
- 1Review core definitions: continuous vs discrete data, ADCs, and DACs.
- 2Master the Nyquist theorem and practice calculating minimum sampling frequencies and identifying aliasing.
- 3Practice multiple sound file size and bit-rate calculations using powers of two (1024) for KiB/MiB conversions.
- 4Analyse the direct trade-offs between sample rate, sample resolution, audio fidelity, and transmission bandwidth.
- 5Complete past paper exam questions focused on sensor inputs, audio digitisation, and MIDI vs sampled audio.
Exam Question Types
- 📋Audio file size calculations requiring multi-step unit conversions to KiB or MiB.
- 📋Scenario-based questions asking how an ADC converts a physical sensor signal into digital data.
- 📋Comparative analysis questions contrasting sampled audio with synthetic event-based formats such as MIDI.
Command Word Expectations (AQA)
Perform a mathematical computation. Always set out every formula step and express the result in the requested units (e.g., MiB or bits per second).
Provide clear reasoning that demonstrates how or why a process occurs, using technical terms such as 'quantisation error', 'sampling rate', or 'aliasing'.
Identify both similarities and differences between two formats or approaches (e.g., analogue vs digital, or MIDI vs sampled audio), addressing both sides equally.
How Students Lose Marks (Examiner Pitfalls)
Step-by-Step Worked Solutions
Question: Calculate the file size in mebibytes (MiB) of an uncompressed stereo audio recording with a sample rate of 44,100 Hz, a sample resolution of 16 bits, and a duration of 3 minutes. Show your working.
- 1.Step 1: Calculate total duration in seconds: 3 minutes * 60 seconds = 180 seconds.
- 2.Step 2: Identify the number of channels: Stereo means 2 channels.
- 3.Step 3: Calculate total bits using the formula: Sample Rate * Sample Resolution * Channels * Duration = 44,100 * 16 * 2 * 180 = 254,016,000 bits.
- 4.Step 4: Convert bits to bytes: 254,016,000 / 8 = 31,752,000 bytes.
- 5.Step 5: Convert bytes to mebibytes (MiB) using binary multiples (1024^2): 31,752,000 / (1024 * 1024) = 31,752,000 / 1,048,576 = 30.2810... MiB.
- 6.Step 6: Round appropriately: 30.28 MiB (to 2 decimal places).
Question: An engineer samples a human voice containing frequencies up to 8 kHz using an ADC with a sampling rate of 12 kHz. Explain why distortion occurs, name the effect, and state the minimum sampling rate required to avoid it.
- 1.Step 1: State the condition set by the Nyquist theorem: fs >= 2 * f_max.
- 2.Step 2: Calculate the required Nyquist rate: 2 * 8 kHz = 16 kHz.
- 3.Step 3: Compare with the current sampling rate: The current rate of 12 kHz is below the required 16 kHz threshold.
- 4.Step 4: Identify the resulting effect: Undersampling causes high-frequency waves to masquerade as false low-frequency waves upon reconstruction, an effect called aliasing.
- 5.Step 5: State the remedy: The sampling rate must be raised to at least 16 kHz (or a low-pass anti-aliasing filter must cut frequencies above 6 kHz).