edited by
474 views
0 votes
0 votes

Consider the following table:

Pid BT I/O BT
$P_0$       6     4      1
$P_1$       8     6       2
$P_2$     12     8       3


Using the shortest remaining time first, find the completion time of a process P2 , if the context switching overhead is 1 unit

  1.   36
  2.   48
  3.   47
  4.   37           

    In these question i am getting 48 ,my doubt ,->in the question context switching overhead is 1 unit so in Gant chart , i have taken the overhead 1 unit when P2 finishes it's io at 44 unit , please tell me that is it required to consider the context switching time here just see it 

     

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
1