Questions: Process Model Formalization

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A process running on the CPU issues a read() system call to read data from disk. According to the formal five-state process model, what state transition occurs immediately?

ARunning → Ready, because the CPU is freed to serve another process
BRunning → Terminated, because the process cannot continue until I/O completes
CRunning → Waiting, because the process blocks until the I/O operation completes
DRunning → New, because the OS must reinitialize the process context
Question 2 Multiple Choice

What is the primary benefit of modeling processes as formal finite state machines rather than describing their behavior informally?

AIt allows processes to execute faster by reducing scheduling overhead
BIt eliminates the need for context switches between processes
CIt enables formal proof of correctness properties such as no starvation and mutual exclusion
DIt reduces the number of states a process occupies, simplifying implementation
Question 3 True / False

In the formal five-state process model, a running process can transition back to the ready state without completing its execution.

TTrue
FFalse
Question 4 True / False

In the formal five-state process model, a process in the waiting state transitions directly to the running state when its I/O operation completes.

TTrue
FFalse
Question 5 Short Answer

Why does the formal process model assign different actors (OS scheduler, the process itself, hardware interrupts) to control different state transitions? Why does this matter for correctness?

Think about your answer, then reveal below.