The following state transition table is a simplified model of process management, with the labels representing the numbers of different transitions that could happen between states of READY, RUN, BLOCKED, and NONRESIDENT. Give an example of an event that can cause each of the above transitions. Draw a diagram if that helps. READY RUN BLOCKED READY 2 RUN 1 - BLOCKED 3 NONRESIDENT 5 - 6
In the context of process control, the states "READY", "RUN", "BLOCKED" and "NONRESIDENT" indicate the different stages a process can go through during its life cycle.
1. READY state: A process in the READY state is waiting for the CPU to allocate resources for it to start working. In this state, the process is queued and waiting for its turn.
2. RUN state: A process in RUN state is currently executing on the CPU. She has been allocated resources and is actively using them.
3. BLOCKED state: A process in the BLOCKED state is waiting for some external event to occur, such as the completion of an I/O operation or the release of a lock on a shared resource. In the BLOCKED state, the process cannot continue executing until the event it is waiting for occurs.
4. NONRESIDENT state: A process in NONRESIDENT state has been swapped out of main memory and is now stored on a secondary storage device such as a hard disk. In this state, the process is not actively executing, waiting to be pushed back to main memory.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images