With a 2 ms time slice and processes P1 (burst 3, arrival 0), P2 (4, 2), P3 (5, 5), find the average turnaround and waiting times under round robin.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. 5.66,1.66
Explanation
P1 0–2, P2 2–4, P1 4–5 (done), P2 5–7 (done), P3 7–12. Turnaround: 5, 5, 7 → 5.66 ms. Waiting: 2, 1, 2 → 1.66 ms.
More System Software and Operating System questions
- Which of the following methods are used to pass any number of parameters to the operating system through system calls?
- Identify the circumstances under which pre- emptive CPU scheduling is used : (a) A process switches from Running state to Ready state (b) A…
- For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due to
- Consider a disk system with 100 cylinders. The requests to access the cylinders occur in the following sequence : 4, 34, 10, 7, 19, 73, 2,…
- Match List I with List II. List I: (a) Disk, (b) CPU, (c) Memory, (d) Interrupt. List II: (i) Thread, (ii) Signal, (iii) File system, (iv)…
- Which of the following are NOT shared by the threads of the same process? (a) Stack (b) Registers (c) Address space (d) Message queue