Past-paper question · 2017 May-June · Paper 31 · Q6(c)(i)

Question 6(c)(i) 2017 · May-June · Paper 31 · 1 mark

Original past-paper question for 6(C)(I)
Original past-paper question for 6(C)(I)
Original past-paper question for 6(C)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 6(C)(I)

Official answer for Question 6

Part (c)

(i)

✓
Interrupts need to be disabled so that the process of dealing with an interrupt is

Question 1

✓
itself not interrupted

Mark scheme 9608_s17_ms_31.pdf →

Show text version of question

Question 6

Part (c)

(i)

Question 6

A computer system is used to manage some of the functions in a vehicle. The vehicle has a

number of sensors and actuators. One sensor is used to monitor the moisture on the screen. If the moisture exceeds a pre-set value, the windscreen wiper motor turns on automatically.

The software used in the computer system is dedicated to the sensor management functions. When the system starts, the software runs some initial tasks. It then loops continuously until the system is switched off. An alternative method of reading and processing sensor data is to use interrupts. Each sensor is connected so that it can send an interrupt signal to the processor if its value changes.

On receipt of an interrupt signal, the processor carries out a number of steps as shown in the following diagram.

Interrupt 1. Disable interrupts

2. Save current task

3. Identify source of interrupt

4. Jump to Interrupt Service Routine

5. Restore task

Return to task 6. Enable interrupts

(i)

State the purpose of step 1.

...........................................................................................................................................

...........................................................................................................................................

.......................................................................................................................................[1]

Topic relevance

Why this question appears here

71% assigned-topic match · Hardware › Logic gates and logic circuits

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_s17_qp_31.pdf

Keep practising this topic