Back to the full dot-point answer
SingaporeComputer ScienceQuick questions
Computer Architecture and Operation
Quick questions on Interrupts and input-output handling explained: H2 Computing
5short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is servicing an interrupt?Show answer
When an interrupt occurs, the CPU follows a set sequence:
What are interrupt priorities?Show answer
Interrupts are assigned priorities so that when several occur, or one occurs during another's handling, the most urgent is serviced first. A higher-priority interrupt (a hardware fault, a timer) can pre-empt the handling of a lower-priority one, ensuring critical events are not delayed.
What is q1?Show answer
Define an interrupt. [1 mark]
What is q2?Show answer
Give one advantage of interrupt-driven input-output over polling. [1 mark]
What is q3?Show answer
Why must the CPU save its state before running an interrupt service routine? [2 marks]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.