Consider the following processes with CPU burst times in milliseconds (table below). The processes are scheduled with Round-Robin scheduling with a time quantum of 4 ms. The waiting time for P₄ is ___ ms.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. 12
Explanation
All arrive at 0: P1 runs 0–4, P2 4–8, P3 8–12, then P4 runs 12–16 and finishes. P4 waited 12 ms.
More System Software and Operating System questions
- Suppose P, Q, and R are cooperating processes satisfying Mutual Exclusion conditions. Then, if Q the process is executing in its critical s…
- A process residing in Main Memory and Ready and Waiting for execution is kept on?
- ______ system call creates new process in Unix.
- At a particular time of computation, the value of a counting semaphore is 10. Then 12 P operations and “x” V operations were performed on t…
- In a paged memory, the page hit ratio is 0.40. The time required to access a page in secondary memory is equal to 120 ns. The time required…
- In a multi-user operating system, 30 requests are made to use a particular resource per hour, on an average. The probability that no reques…