446 views
0 votes
0 votes

Let there are 4 process . P1, P2  ,P3, P4.   Round Robin used for scheduling , Time quantum = q . each process burst time is greater than . all processs arrived at time t = 0.

now how we count the context switch.

_P1_P2_P3_P4_  

to count context switched all dashes need to consider .  or need to left  first or last.

plz explain ?

1 Answer

0 votes
0 votes
as it is given Q> burst time so no one will end in once cycle. so again after all these q1 wil come. so definitely we have to consider . till the last process. what i think there is no need to count the last one. whichever it is.

Related questions

0 votes
0 votes
1 answer
3
0 votes
0 votes
0 answers
4