GATE | GATE-CS-2001 | Question 13

A CPU has two modes-privileged and non-privileged. In order to change the mode from privileged to non-privileged
(A) a hardware interrupt is needed
(B) a software interrupt is needed
(C) a privileged instruction (which does not generate an interrupt) is needed
(D) a non-privileged instruction (which does not generate an interrupt is needed

Answer: (B)

Explanation: Software interrupt occurs when a program terminates or a program invokes some system calls to request for some services like I/O request etc. This type of interrupt is caused by the program in user mode.
Thus, a software interrupt is required to switch from kernel (privilege) mode to user (non-privilege) mode.

Please comment below if you find anything wrong in the above post.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.