Which of the following best describes the Ready state of a process in an operating system?
Think about when a process is ready but not yet running.
The Ready state means the process is loaded in memory and waiting for the CPU to execute it. It is not running yet but is prepared to run.
What causes a process to enter the Waiting state?
Consider what happens when a process cannot continue until something external finishes.
The Waiting state occurs when a process cannot proceed until an external event, such as I/O completion, happens.
Consider a process that is created, runs, waits for I/O, then finishes. Which sequence of states correctly represents this process lifecycle?
Think about the order a process moves through states when it pauses for I/O and resumes.
The process starts New, moves to Ready waiting for CPU, then Running. When it needs I/O, it goes to Waiting. After I/O, it returns to Ready, then Running again, and finally Terminated.
Which statement correctly compares the New and Terminated states of a process?
Think about the start and end points of a process lifecycle.
The New state is when a process is being created and initialized. The Terminated state means the process has completed execution and is cleaned up.
Why does a process typically not move directly from the Waiting state to the Running state?
Consider how the CPU scheduler decides which process runs next.
After waiting for an event, a process moves to the Ready state to wait for CPU allocation. It cannot run immediately because the CPU may be busy with other processes.