In which of the following cases, a process executing in user mode requires an entry into the OS mode?
In which of the following cases, a process executing in user mode requires an entry into the OS mode? Correct Answer Executing printf ( )
The correct answer is option 1.
Concept:
The User mode is a standard mode in which the process has restricted access. While Kernel mode is a privileged mode in which the process has unrestricted access to system resources such as hardware, memory, and so on.
In Kernel mode, a process can access I/O Hardware registers to program itself, as well as execute OS kernel code and access kernel data. Anything involving process management, IO hardware management, and memory management necessitates the execution of processes in Kernel mode.
Executing printf( ) cases of a process executing in user mode requires an entry into the OS mode because it is not required a privileged mode of execution. The remaining all are running in OS mode.
Hence the correct answer is Executing printf ( ).