Question: Figure 1 depicts a process model for TWO suspend states. (a) Briefly define the Ready, Running and Blocked states. (b) What is the role of

Figure 1 depicts a process model for TWO suspend states. (a) Briefly define the "Ready", "Running" and "Blocked" states. (b) What is the role of the dispatcher? (c) What is swapping? (d) What operations will be carried out by the OS when none of the processes in main memory is in the Ready state? (e) Suppose a computer system has a process to print a file to the printer. The printer is slow in printing each line. After sending each line to the printer, the computer has to wait until the printer is ready to print another line and interrupts the computer. Suggest the states of the process in each of the following situations. (i) The process is sending a line to the printer. (ii) The process has just finished sending a line to the printer and is waiting for the printer to interrupt. (iii) The computer receives the interrupt from the printer and the process is waiting to be executed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
