AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

From waves to numbers

Week 27 · 4.4 Data representation · 3 lessons
1

Smooth or in steps

Computing 9: Topic 4.4, pp. 335–340
GoalExplain the difference between analogue and digital data, and why sound must be converted before a computer can use it.
New words
analogue · continuous data that can take any value in a range, such as the air pressure of a sounddigital · data made of separate values, stored by a computer as binary digitssound wave · the changes in air pressure that make a soundsignal · a physical quantity, such as air pressure or voltage, that carries data
Explanation

Many things in the real world change smoothly. A sound is a wave of air pressure, and the pressure can have any value in a range. Data like this is analogue. Digital data is different: it is made of separate values, with nothing in between, and a computer stores every value in binary. A computer can only process digital data, so analogue data must be converted first. For sound, a microphone captures the wave and the computer then turns it into numbers. A dimmer dial gives any brightness, so it is analogue. A switch has only two settings, so it is digital. A graph of an analogue signal is a smooth curve, and a graph of a digital signal looks like steps.

AnalogueDigital
Valuesany value in a rangeseparate values only
Graph looks likea smooth curvesteps
Exampleair pressure of a sounda file of 1s and 0s
Can a computer process it directly?no, it must be convertedyes
Worked examples
Analogue (any value)Digital (separate values)
a ramp, where you can stand at any heighta staircase, where you stand only on a step
a clock with sweeping handsa clock that shows 10:42
a tap that opens a little or a lota light switch that is on or off
Pairs from everyday life. In each pair, one thing can take any value in between and the other has only separate values. Asking “is there a value between two neighbours?” helps to decide.
0510150123456789101112heightsound wave
An analogue sound wave. This graph shows the height of a sound wave at 13 moments, but the real wave has a value at every moment between them as well. The wave rises and falls smoothly.
0510150123456789101112heightdigital copy
A digital copy of the same wave. The computer measures the height at moments 0, 3, 6, 9 and 12 only, and keeps each value until the next measurement. The result is a set of separate values that look like steps. It is not exactly the same as the smooth wave, but a computer can store it as numbers.
Class activity

Analogue or digital hunt (no computer). Walk round your home with an adult and find six things that show or control a quantity: for example a clock, a kitchen scale, a volume control, a light switch, a thermometer and a calculator. Make a table with the columns thing, analogue or digital, and why. For each analogue thing, say what the value could be between two neighbouring marks. For each digital thing, name the separate values it can show.

Practice
1
Write analogue or digital for each item.
ItemAnalogue or digital?
(a) A thermometer where the liquid rises smoothly?
(b) A file made of 1s and 0s?
(c) The air pressure of a drum beat?
(d) A lift button that is pressed or not pressed?
(e) A bathroom scale with a needle?
(f) A scoreboard that shows whole numbers?
2
A band is recorded on a computer. Read the steps in order and say what happens at the step marked ?
3
Signal P takes the values 2, 2, 2, 6, 6, 6, 9, 9, 9. Signal Q takes the values 2, 2.3, 2.9, 3.6, 4.4, 5.1, 5.8, 6.2, 6.5 and every value in between as well. Which is digital and which is analogue? Give a reason.
4
Explain in your own words why a computer cannot store an analogue sound directly. Use the words “binary” and “microphone”.