Numerical Solved by Round Robin Scheduling using Switching

Q5. Take three processes that arrive at the same time in the following order and the time quantum is 2ms.

Process                Burst Time

P1                          10

P2                          5

P3                          2

Draw Gantt Chart and calculate average turnaround time using Round Robin Scheduling Algorithm along with Switching.

Ans. Gantt Chart:

P1   P2   P3   P1   P2   P1   P2   P1   P1

0      2       3       5     6        8      9     11      12    14    15     17    18     19    20     22   23  25

Turnaround Time




Average Turnaround Time



=17.6 ms

World is full of questions and we are trying to solve a few of them.

Leave a Reply

Your email address will not be published. Required fields are marked *