GATE | GATE 2017 MOCK II | Question 51
On a system using round-robin scheduling let ‘s’ represent the time needed to perform a process switch, ‘q’ represents the round-robin time quantum, and ‘r’ represents the average time a process runs before blocking on I/O. The CPU efficiency when s = q < r is:
(A) r/(r+s)
(B) q/(q+s)
(C) 1/2
(D) 0
Answer: (C)
Explanation: ‘r’ is the average time a process runs before I/O block and ‘s’ is the time needed for switch.
‘q’ represents the round-robin time quantum.
The efficiency of the CPU when s < r and q < r.
= r/(r/q)*s+r
= q/(q+s)
Here s = q.
Hence efficiency is ½.
Quiz of this Question
Recommended Posts:
- GATE | GATE MOCK 2017 | Question 47
- GATE | GATE MOCK 2017 | Question 60
- GATE | GATE MOCK 2017 | Question 61
- GATE | GATE MOCK 2017 | Question 62
- GATE | GATE 2017 Mock | Question 63
- GATE | GATE 2017 Mock | Question 64
- GATE | GATE MOCK 2017 | Question 22
- GATE | GATE 2017 MOCK II | Question 1
- GATE | GATE 2017 MOCK II | Question 2
- GATE | GATE 2017 MOCK II | Question 3
- GATE | GATE 2017 MOCK II | Question 4
- GATE | GATE 2017 MOCK II | Question 5
- GATE | GATE MOCK 2017 | Question 59
- GATE | GATE MOCK 2017 | Question 58
- GATE | GATE MOCK 2017 | Question 48



