in Operating System edited by
631 views
1 vote
1 vote

Consider a system consisting of four processes and a single resource. The current state of claim matrix and allocation matrix is given below. The minimum number of available units required for the state to be safe is ......

(A)  1

(B) 0

(C)  2

(D)  3

WHAT IS CLAIM MATRIX?

in Operating System edited by
631 views

8 Comments

is the answer d?

i think the claim matrix is the maximum need!
1
1

YES IT IS  D

BUT THEY ARE SAYING CURRENT STATE OF CLAIM MATRIX . SO I TAKE THEM AS CURRENT NEED .

CLAIM TERM CONFUSED ME AND I JUST PUT 2 .

 

IF YOU KNOW MORE TERMS LIKE CLAIM OR ANY THINGS THEY SAY PLEASE WRITE IN COMMENT AS JUST ONE TERM WRONG MY QUESTION

 

0
0
if u used this as a current need...thn I think no option satisfies

I m also hearing first time this term.... but as the word claim suggests It should be the maximum need...i just used my intuition!
0
0

@himgta  if it  is current need then i think answer is 2. PROCESSES START FROM P1

NOW IF WE HAVE 2 WE CAN SATISFY PROCESS 2, THEN TOTAL 4 RESOURCES 

BY THAT P1 CAN TOTAL 7

THEN P4  TOTAL 14

THEN WE CAN SATISFY P3

0
0
brother what are you doing these resources are not holding by the process why are you continuously adding them.....

The resources hold by a process given in allocated matrix
0
0
edited by

I AM SAYING IF  CLAIM MATRIX  IS CURRENT NEED THEN

ANSWER IS 2 AS

THEN NEED OF P1 IS3, P2 2 SO ON

@himgta CORRECT ME HERE IF I AM WRONG HERE . BECAUSE DOUBTS ARE GOING TO BITE US IIF WE IGNORE THEM. MAYBE U R RIGHT AND I AM WRONG  BUT STILL WE HAVE TO CLEAR THEM

0
0
brother how are u defining current state..I m not getting it

first tell me what do u mean by current state?
0
0

@himgta 

IT IS SAYING CURRENT NEED NOT STATE 

I MEAN  current state of claim matrix = CURRENT NEED

 

AND MAX ELEMENTS = ALLOCATED + CURRENT NEED

0
0

Please log in or register to answer this question.