204k views
4 votes
Suppose that a process is in "Blocked" state waiting for some I/O service. When the service is completed, it goes to the :

a) Running state
b) Ready state
c) Suspended state
d) Terminated state

User Dracorat
by
8.2k points

1 Answer

1 vote

Final answer:

When a blocked process completes its I/O service, it transitions to the Ready state, where it waits for CPU time to actually run.

Step-by-step explanation:

When a process in a computer system is in a Blocked state, this means it is waiting for an event or a resource, typically some form of I/O (Input/Output) service. Upon completion of the I/O service, the process transitions out of the blocked state. However, it does not immediately go into the Running state. Instead, it moves to the Ready state where it waits for the CPU scheduler to allocate it CPU time so that it can execute. Only when the scheduler selects it from the Ready state does it move into the Running state to execute its assigned tasks.

User Deepa
by
8.7k points