Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please type the answer do not hand write. In Fig. 2-2, three process states are

ID: 3878544 • Letter: P

Question

Please type the answer do not hand write.

In Fig. 2-2, three process states are shown. In theory, with three states, there could be six transitions, two out of each state. However, only four transitions are shown. Are there any circumstances in which either or both of the missing transitions might occur?

Running 1. Process blocks for input 2. Scheduler picks another process 3. Scheduler picks this process 4. Input becomes available 3 Blocked 4 Ready Figure 2-2. A process can be in running, blocked, or ready state. Transitions be- tween these states are as shown

Explanation / Answer

we can't get transistion from Blocked to Running state, because..whenever the process in blocked state ready for executed it is pushed to ready queue..which is ready state, means the process which is going to executed by cpu is comes from ready queue only

but we can get a transition from ready to blocked state, there is a case, that when a process is in ready queue, it can be blocked by a i/o interruption..