← Quiz: I/O Organisation: all 10 questions
Quiz: I/O Organisation · Question 8 of 10
When an interrupt arrives, what does the CPU do first?
When an interrupt arrives, what does the CPU do first?
- A.Abandons the current instruction and jumps to the ISR
- B.Finishes the current instruction, saves its state (PC, flags) and jumps to the ISR
- C.Restarts the program
- D.Waits for the DMA controller
Answer & explanation
Correct answer: Finishes the current instruction, saves its state (PC, flags) and jumps to the ISR
Saving the state lets the CPU return to exactly where it was after the ISR.
Can you get the rest right without peeking?
Take the timed Quiz: I/O Organisation quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →