466 views
1 votes
1 votes

NEED=REQUEST-ALLOCATION. am i right?

1 Answer

–1 votes
–1 votes

no here request is same as need and u simply add allocation and u find

 current available =  total available - current allocation

 then we start checking for request or we can say that need ...so here 

 current allocation  ( X,y, Z)   = (11,9,9)   and total available=(12,12,12)

  current available =  total available - current allocation  =>   (12-11 , 12-9, 12-9)  = (1,3,3)

so here first we execute both P1 or P0 anyone

so we move according to option  --->  option A is correct then current available is (4,4,5) so here 2nd time only p0 is exexute so option Band C  is wrong and current available update (9.9.13) then any one execute so option A is correct.

   

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
1 answer
2
santhoshdevulapally asked Dec 1, 2016
286 views
3 votes
3 votes
0 answers
4
santhoshdevulapally asked Nov 29, 2016
217 views
i got 0.092ns but how it is 92MIPS?