1,264 views

1 Answer

0 votes
0 votes

 

Arrival time = 0, Burst time = 10 units, Time quantum = 2 units and Context switch time = 2 units.

Ready queue = P1 P1 P1 P1 P1

P1 P1 P1 P1 P1

0                       2 4                     6 8                       10 12           14 16                    18         

Number of context switch = 4

so CS time = 4*2 = 8

Completion time = 8 + 10 = 18 units.

 

Related questions

8 votes
8 votes
6 answers
2
1 votes
1 votes
1 answer
4
sanyam53 asked Jan 7, 2017
1,677 views
How many time context switch in Round Robin? ( if only one process remain in ready queue at end of scheduling does that count every time, when time slice over or only one...