GATE 2023 CS – Question 23
Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) Page Fault; (D) System Call
Explanation
A system call (trap) and a page fault (exception) always switch to kernel mode. An ordinary function call or malloc may be served entirely in user space.