in Operating System edited by
516 views
0 votes
0 votes

in Operating System edited by
516 views

3 Comments

it should be 6
0
0
I too think answer is 6 but it is given as 8.....
0
0
According to me Answer is 6.
0
0

2 Answers

0 votes
0 votes
At last when p1 has 6 time units to complete it will go to ready queue and will get scheduled again... So that switching overhead has to be calculated
0 votes
0 votes

I guess the answer depends on the platform. According to the reference it should be 6.

Refer this:https://stackoverflow.com/questions/8997616/does-a-context-switch-occur-in-a-system-whose-ready-queue-has-only-one-process-a

Related questions