Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Advantages and disadvantages of automation in lighting worksheet is part of the IGCSE Computer Science 0478 — 6.1 Automated Systems journey. Print it as a booklet?
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 | |
|---|---|---|
| 1IF motion = TRUE AND light < 20 THEN lamp ← ON | AIF motion = TRUE THEN lamp ← ON | |
| 2IF sensor = FAULTY THEN lamp stays ON | BOnly gives a benefit and ignores drawbacks such as installation cost, sensor faults and false triggers by animals. It also does not link to the scenario. | |
| 3Benefit in a car park scenario: lights come on when a person walks in at night, so they are safer | CLights come on only when someone is detected in the dark, which saves energy and means no one has to find a switch. | |
| 4Drawback in a garden scenario: a fox walking past is a false trigger that wastes energy | DA faulty sensor can leave the lights on all night and waste energy, which is a drawback of automatic lighting. | |
| 5Automatic lights are always better because nothing can go wrong. | EIF motion = TRUE (fox) THEN lamp ← ON | |
| 6Automatic lights are good and bad. | FToo vague. It names no benefit or drawback and uses no details from the scenario given in the question. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
automatic lighting trade-off — Weigh benefits (saves energy, safer at night, no switching) against drawbacks (install cost, sensor faults, animal false triggers) and link each point to the scenario.IF motion = TRUE AND light < 20 THEN
lamp ← ON
ENDIFIF light < 20 THEN
lamp ← ON
ENDIFWHILE power = ON
IF motion = TRUE THEN lamp ← ON
ENDWHILEIF fault = TRUE THEN
OUTPUT "Check sensor"
ENDIFIF motion = TRUE AND size > 30 THEN
lamp ← ON
ENDIF