Gate CS-2018 Question Paper With Solutions

Q. 23 The following are some events that occur after a device controller issues an interrupt while process L is under execution.

(P) The processor pushes the process status of L onto the control stack.
(Q) The processor finishes the execution of the current instruction.
(R) The processor executes the interrupt service routine.
(S) The processor pops the process status of L from the control stack.
(T) The processor loads the new PC value based on the interrupt.

Which of the following is the correct order in the which the events above occur?

(A) QPTRS

(B) PTRSQ

(C) TRPQS

(D) QTPRS

Answer: (A)

Explanation:

Gate CS-2018 Question Paper With Solutions

Learn More:   Gate ME-2003 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here