Question 8
What is the correct sequence of tasks that takes place as part of software interrupt handling? (i) Execute the software interrupt handler
(ii) Save the current CPU state
(iii) Invoke the kernel scheduler if needed
(iv) Restore the CPU state and resume execution
(i) → (ii) → (iii) → (iv)
(iii) → (i) → (ii) → (iv)
(ii) → (iii) → (i) → (iv)
(ii) → (i) → (iii) → (iv)