The Gateway to Computer Science Excellence
0 votes
216 views

in Operating System by (237 points)
edited by | 216 views
0
it should be 6
0
I too think answer is 6 but it is given as 8.....
0
According to me Answer is 6.

2 Answers

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
by (177 points)
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

by (439 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,355 answers
198,482 comments
105,250 users