Process States & Transitions — Concept Check
Questions on Process States & Transitions. A process moves through five states — New, Ready, Running, Waiting, and Terminated — driven by OS scheduler decisions and I/O events.
Questions in this quiz
8 questions on Process States & Transitions — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A process is in the Ready state. What must occur for it to transition to Running?
- AThe process requests a semaphore.
- BThe OS scheduler selects it for execution.
- CIt completes an I/O operation.
- DIt releases a monitor lock.
2.A process is in the Waiting state due to an I/O request. What happens when the I/O is completed?
- AIt moves to the Running state immediately.
- BIt moves to the Ready state.
- CIt remains in the Waiting state.
- DIt terminates.
3.A Java thread is in the TIMED_WAITING state. What does this indicate?
- AIt is blocked indefinitely.
- BIt is running on the CPU.
- CIt has terminated.
- DIt is waiting with a timeout.
4.What state does a process enter after main() returns or exit() is called?
- AReady
- BRunning
- CWaiting
- DTerminated
5.A process is in the Running state and requests a semaphore that is unavailable. What state does it transition to?
- AWaiting
- BNew
- CReady
- DTerminated
6.A process in the New state can immediately transition to which state?
- ATerminated
- BReady
- CRunning
- DWaiting
7.A process in the Waiting state is often called what in OS terminology?
- ABlocked
- BIdle
- CSuspended
- DPaused
8.In a multi-core system, how many processes can be in the Running state simultaneously?
- ATwo per CPU core
- BOne per CPU core
- COnly one
- DAll processes