Consider the following statements about process state transitions for a system using preemptive scheduling.
- A running process can move to ready state.
- A ready process can move to running state.
- A blocked process can move to running state.
- A blocked process can move to ready state.
Which of the above statements are TRUE?
View worked solution
Answer: C
Let us analyze each statement based on the standard process state transition diagram in a preemptive scheduling system:
- I. Running to Ready: True. In preemptive scheduling, a running process can be interrupted (e.g., due to time quantum expiration or a higher priority process arriving) and moved back to the ready state.
- II. Ready to Running: True. When the CPU scheduler selects a process from the ready queue, it is dispatched and moves from the ready state to the running state.
- III. Blocked to Running: False. A blocked (or waiting) process cannot directly transition to the running state. It must first transition to the ready state once its I/O or event completes, and wait for the scheduler to dispatch it.
- IV. Blocked to Ready: True. When the event or I/O operation that the blocked process was waiting for completes, the process moves to the ready state.
Thus, statements I, II, and IV are TRUE, which corresponds to option C.
Free practice · Your answers on this page are not saved.
