Cambridge O Level Computer Science 2210 · 6.1 Automated systems

Q3 · 2210/12/M/J/21 Q5

Worked solution from the Automated and emerging technologies Paper 1 Computer Systems booklet, Part 1 of 3.

Q32210/12/M/J/21original Q5Structured · 10 marks
Question 5 from 2210/12/M/J/21

Worked solution

(a)

Write two sensors:

Light sensor [1]

Motion sensor (an infra-red sensor is also accepted) [1]

(b)

Write the steps in order. Any eight of these points score:

The light sensor and the motion sensor send data to the microprocessor [1]

The data is converted from analogue to digital by an ADC [1]

The microprocessor compares the data with stored values [1]

If only one value, or neither, is in the range for dark and movement, no action is taken [1]

If both values match (it is dark and there is movement), the microprocessor sends a signal to switch the light on [1]

A 1-minute timer is started [1]

An actuator is used to switch the light on and off [1]

When the timer reaches 1 minute, the microprocessor sends a signal to switch the light off [1]

Also creditable: The whole process is continuous

Only eight of these points are needed to get full marks.

KEY IDEABoth conditions (dark AND movement) must match before the light switches on, then a timer switches it off after 1 minute.
TOTAL 10 marks

Official mark scheme

Mark scheme for 2210/12/M/J/21 question 5
VIDEO
▶ Whole paper

Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.