Note AcademyNote Academy

Computer Science · Oct / Nov 2021 · Paper 12 · Question 8

0478

As printed in the paper

The question as text

An electronic game has three square mats that are coloured red, green and blue. The player will see a colour displayed on a screen and has 1 second to hit the mat that matches the colour. If the player hits the correct mat, within 1 second, a counter is incremented. When a player hits an incorrect mat, the game ends. The game uses sensors and a microprocessor to determine if the player hits the correct mat within 1 Explain how the game uses sensors and a microprocessor to count the number of times a player h 9 [7]

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

Seven from:

Timer is started
Pressure sensor (within each mat)
Sensor sends data to microprocessor
Analogue data is converted to digital (using ADC)
Microprocessor compares data to stored value(s)
If data matches / in/out range microprocessor stops timer
If data matches / in/out range microprocessor checks if data has come from correct colour mat sensor
If data matches / in/out range microprocessor checks to see if timer is stopped at less than 1 second
If data matches / in/out range microprocessor increments counter if timer is less than 1 second and colour/mat is correct
If correct colour/mat is hit, timer is reset and the whole process is repeated
If data has not come from the correct colour mat sensor the game ends

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.