Question: Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend Admit New Activate Suspend Activate Suspend Admit Ready Event

Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend

Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend Admit New Activate Suspend Activate Suspend Admit Ready Event occurs Blocked Suspend Dispatch Timeout Running Event wait Release Exit (a) Briefly describe the Blocked and Ready / suspend states. (4 marks) (b) Give an example on each transition of state from Running state to Blocked state and then to Blocked/suspend state. (4 marks) (4 marks) (c) Why are two modes (user and kernel) needed in modern operating system? (d) Consider a computer with N processors in a multiprocessor configuration. (i) How many processes can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks) (ii) What is the minimum number of processes that can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks)

Step by Step Solution

3.27 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Blocked state A process is in the blocked state when it is waiting for a resource to become available For example a process may be blocked waiting for an IO operation to complete or for a mutex lock ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!