-
In the following process state transition diagram for a uniprocessor system, assume that there are always some processes in the ready state.
Now consider the following statements:
1. If a process makes a transition D, it would result in another process making transition A immediately.
2. A process P2 is blocked state can make transition E while another process P1 is in running state.
3. The operating system uses pre-emptive scheduling.
4. The operating system uses non-pre-emptive scheduling. Which of the above statements are true?
-
- 1 and 2
- 1 and 3
- 2 and 3
- 2 and 4
- 1 and 2
Correct Option: C
1. is false. If a process makes a transition D, it would result in another process making transition B, not A. 2. is true. A process can move to ready state when I/O completes irrespective of other process being in running state or not.
3. is true because there is a transition from running to ready state.
4. is false as the OS uses preemptive scheduling