Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question: The following Gantt chart shows the CPU burst times (in milliseconds) of three processes using the round robin scheduling algorithm: P1 P2 P3 P1
Question: The following Gantt chart shows the CPU burst times (in milliseconds) of three processes using the round robin scheduling algorithm:
P1 | P2 | P3 | P1 | P1 | P1 |
0 5 8 12 17 22 26
Suppose the three processes, P1, P2 and P3, all arrive at time 0 and we are using a time quantum of 5 milliseconds. Assuming we are not including time for performing context switching, what is the average waiting time in the above example? (choose one of the following):
A) | 8.67 milliseconds |
B) | 26 milliseconds |
C) | 7.67 milliseconds |
D) | 5.67 milliseconds |
E) | 6.67 milliseconds |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started