Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1ADC | ASensors capture analogue data, not digital data. An ADC is needed to convert the readings into digital values before the computer can use them. | |
| 2DAC | Bsensor -> ADC -> microprocessor | |
| 3Analogue data varies continuously, so a temperature sensor can output any value in a range such as 21.3, 21.4 or 21.45 | Ctemperature = 21.37 | |
| 4The sensor's reading must be converted by the ADC before the microprocessor can process it | DThe ADC is placed after the microprocessor. It must come before processing, because the computer can only process digital data and the sensor gives analogue data. | |
| 5sensor -> microprocessor -> ADC | EAnalogue-to-digital converter: changes the continuously varying readings from a sensor into digital values the computer can process | |
| 6A light sensor sends digital values straight to the computer, so no ADC is needed | FDigital-to-analogue converter: changes digital values from the computer into an analogue signal, for example to drive a speaker or motor |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
ADC (analogue-to-digital converter) — Turns the continuously varying analogue readings from a sensor into digital values (binary numbers) so a computer can process them.digital ← ADC(temperature)digital ← ADC(ReadSensor())
IF digital > 200 THEN
OUTPUT "Too hot"signal ← DAC(digital_value)WHILE monitoring = TRUE
digital ← ADC(ReadSensor())
ENDWHILEanalogue ← ReadSensor()
digital ← ADC(analogue)