Questions: Process States and State Transitions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A process issues a read() system call to load data from disk. While it waits, another process runs. When the disk read completes, where does the first process go?

ADirectly back to running — it resumes from where it left off as soon as the I/O finishes
BTo the ready queue — the scheduler decides when it next receives CPU time
CTo the blocked state again until an explicit wake-up call from the user
DTo the terminated state because the I/O operation has completed
Question 2 Multiple Choice

What causes a running process to transition to the ready state rather than the blocked state?

AThe process calls exit() to finish execution
BThe process issues a blocking system call (e.g., waiting for keyboard input)
CA timer interrupt preempts the process at the end of its CPU time slice
DThe process encounters a page fault requiring a disk read
Question 3 True / False

A blocked process consumes CPU time while waiting for its I/O request to complete.

TTrue
FFalse
Question 4 True / False

When the event a blocked process was waiting for occurs, the OS may move it directly to the running state if no other process is using the CPU.

TTrue
FFalse
Question 5 Short Answer

What is the fundamental difference between a process in the ready state and one in the blocked state, and why does that difference matter for the scheduler?

Think about your answer, then reveal below.