Question: A given operating system operates in the user and kernel mode of operation. What is the mode of the system at the following points? Justify
A given operating system operates in the user and kernel mode of operation. What is the mode of the system at the following points? Justify your answer. a) Boot time b) When the printer generates Out of paper error c) When the operating system gains control Consider a process (id= 2256) creates a child process (id = 2257) and child process further creates a child process (id= 2258). What will be output at statement (1), (2) and (3) along with the process generating this output, for the code given below: int main() { int id1= fork(); cout

Q2 A given operating system operates in the user and kernel mode of operation. What is the mode of the system at the following points? Justify your answer. a) Boot time b) When the printer generates Out of paper" error c) When the operating system gains control Consider a process (id= 2256) creates a child process (id = 2257) and child process further creates a child process (id=2258). What will be output at statement (1), (2) and (3) along with the process generating this output, for the code given below: int main() { int idl= fork(); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
