187k views
2 votes
Which of the following state transitions is not possible ?

a) blocked to running
b) ready to running
c) blocked to ready
d) running to blocked

1 Answer

3 votes

Final answer:

The state transition that is not possible is a) blocked to running because it bypasses the operating system's scheduler, which dictates which process runs next.

Step-by-step explanation:

The question asks which state transition is not possible in the context of process states within an operating system. The specific transitions mentioned are:

  • a) blocked to running
  • b) ready to running
  • c) blocked to ready
  • d) running to blocked

In a typical operating system that manages process states, certain transitions are expected:

  • A process in the ready state can move to the running state when the scheduler selects it to run on the processor.
  • A process can transition from the blocked state to the ready state when the event it is waiting for occurs.
  • A process in the running state can move to the blocked state if it needs to wait for an event (like I/O operation to complete).

However, a direct transition from blocked to running is not typically allowed because it bypasses the scheduler's control, which decides which process should run next. Thus, the correct answer to which transition is not possible is:

a) blocked to running

User NatKSS
by
8.5k points