AQA 7517, section 4.5.6.2
The real world is mostly analogue, but computers work with digital data. You need to know the difference, both for data and for signals.
Analogue data and signals
Analogue data is continuous. It can take any value within a range, with infinitely many values between any two points.
Examples:
- the temperature of a room, which varies smoothly;
- the height of a person;
- the sound wave of a voice, with continuously changing pressure;
- the position of a dial or the hands of a clock.
An analogue signal varies continuously with time, for example a voltage that rises and falls smoothly, as in a traditional microphone.
Digital data and signals
Digital data is discrete. It can only take certain separate values, with gaps between them. In a computer these are represented as bits, 0 and 1.
Examples:
- the number of people in a room;
- a digital clock showing 10:42;
- the text of a document;
- a pixel's colour, as one of values.
A digital signal has only two voltage levels, a high one for 1 and a low one for 0, and it switches between them.
Comparison
| Analogue | Digital | |
|---|---|---|
| Values | Continuous, any value in a range | Discrete, separate values |
| Example data | Temperature, sound pressure | Number of items, text |
| Signal | Smoothly varying voltage | Two voltage levels (high and low) |
| Precision | Infinite in principle, but limited by noise | Limited by the number of bits |
| Noise | Picks up noise and can't easily remove it | Can be restored if the noise is small |
| Copying | Quality drops with each copy | Perfect copies are possible |
| Used by computers? | No (must convert first) | Yes |
Why do computers use digital?
- Noise resistance. If a digital signal is slightly distorted, the receiver can still tell whether it is high or low, and the original can be restored exactly. An analogue signal accumulates noise, which can't be removed.
- Reliable storage and copying. Digital data can be copied again and again with no loss of quality.
- Easy to process. Digital data can be processed, stored, compressed, encrypted and checked for errors using the same circuits.
- Simple hardware. It needs just two states.
The disadvantage is that analogue values must be converted to digital (4.5.6.3), which means measuring at intervals and rounding to the nearest value, so some information is lost.
Worked example
Task: classify each as analogue or digital: (a) a mercury thermometer, (b) a digital thermometer's display, (c) a vinyl record's groove, (d) the contents of a text file.
- (a) Analogue. The mercury level changes continuously.
- (b) Digital. It shows a discrete number, such as 21.5.
- (c) Analogue. The groove varies continuously in shape.
- (d) Digital. It is a sequence of character codes (bits).
Exam tip: use the words continuous for analogue and discrete for digital, and give examples. For signals, mention that digital signals have two levels, and that analogue signals vary smoothly.
Check yourself
What is the difference between analogue and digital data?
Analogue data is continuous and can take any value in a range. Digital data is discrete, with only separate, distinct values.
Give one advantage of digital signals over analogue signals
Any one of: resistant to noise and can be restored; can be copied without loss of quality; easier to process and store.
Is a sound wave analogue or digital? And an MP3 file?
A sound wave is analogue. An MP3 file is digital.