is the answer 6.94 microsecond

Dark Mode

427 views

0 votes

Shivam Kasat too much calculation. never going to ask like this in gate.

dont whether calculation. correct or not of mine

general view ------

in case of non premptive we have 4 context switches and as 5 process burst time .....

so 5B + 4 C = 24 hours (24 *60*60 )s

in case of preemptive

context switches of process = B / tq=n

.. where B=burst time , tq = time quantam

so in case of preemptive

4 C ( as 1st time only 4 context switches ) + 5 (n-1)C +5 B = 24 *60*60 + 2* 60 ....

substitute values up above like lasst we get $ C^2$ compute it .

i am not sure about my calc.......so

1