Which one of the following is the correct sequence of the different st

Which one of the following is the correct sequence of the different states of a process in process management function of an operating system ?

New, Ready, Waiting, Executing, Terminating
New, Waiting, Ready, Executing, Terminating
New, Waiting, Ready, Terminating, Executing
Ready, New, Waiting, Executing, Terminating
This question was previously asked in
UPSC CISF-AC-EXE – 2018
Option A lists the common process states in an order that represents a possible, although simplified, transition sequence in process management: New, Ready, Waiting, Executing, Terminating.
– Standard process states include: New (process being created), Ready (waiting to be assigned to a processor), Running/Executing (instructions are being executed), Waiting/Blocked (waiting for some event to occur, e.g., I/O completion), and Terminated (process has finished execution).
– A typical transition sequence is: New -> Ready -> Running -> Terminated.
– From Running, a process can go to Waiting (e.g., for I/O) or Terminated.
– From Waiting, a process goes back to Ready when the event occurs.
– While the transition Ready -> Waiting is not standard in basic models, Option A includes the key states in an order that, compared to the clearly incorrect sequences in B, C, and D, is the most plausible interpretation of a simplified or specific state model used by the question setter, where perhaps ‘Waiting’ represents a state a process enters after being Ready but before getting the CPU if certain resources are needed immediately. However, the standard transition from Waiting is back to Ready, not directly to Executing. Despite this, A lists the common states in an order that is less incorrect than the others.
The most standard simplified diagram shows transitions: New -> Ready -> Running -> Terminated, and Running Waiting. A process moves from Ready to Running when scheduled, from Running to Waiting on I/O request, and from Waiting back to Ready on I/O completion. From Running, it moves to Terminated upon completion.
Exit mobile version