1.

In ____ mode, the kernel runs on behalf of the user.(a) user(b) kernel(c) real(d) allThis question was addressed to me at a job interview.I want to ask this question from System Calls Basics topic in section System Programming I – Files of Unix

Answer» RIGHT option is (b) kernel

The EXPLANATION: Whenever a process invokes a SYSTEM call, the CPU switches from user mode to kernel mode which is a more privileged mode. The kernel mode is also called as supervisor mode. In this mode, the kernel RUNS on BEHALF of the user and has access to any memory location and can execute any machine instruction.


Discussion

No Comment Found

Related InterviewSolutions