Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1 5 2 0 sequence process allocation claim needs available P0 0 0 1 2 0 0 1 3 P1

ID: 3538284 • Letter: 1

Question

1     5     2     0

sequence    process                 allocation                               claim                                     needs                                    available

P0

0     0     1     2

0     0     1     3

P1

1     0     0     0

1     9     5     0

P2

1     3     5     3

2     3     5     6

P3

0     0     3     2

0     5     5     2

P4

0     1     1     4

0     7     5     6

A)       Fill in the needs column above
.

B)        Is the system in a safe state ?__________________________________________  

C)        Show a sequence ( if above is yes)   _______________________________________

  
A request from Process P1 arrives for (0, 4, 2, 0)

D)        Should the request be granted? ____________


sequence    process                 allocation                               claim                                     needs                                    available

P0

0     0     1     3

P1

1     9     5     0

P2

2     3     5     6

P3

0     5     5     2

P4

0     7     5     6

                                                   (Use to calculate part D)                                                   

P0

0     0     1     2

0     0     1     3

P1

1     0     0     0

1     9     5     0

P2

1     3     5     3

2     3     5     6

P3

0     0     3     2

0     5     5     2

P4

0     1     1     4

0     7     5     6

Explanation / Answer

https://www.dropbox.com/s/wnc6nw3oi0s3l3b/27062013475.jpg

https://www.dropbox.com/s/ili78obqtwj8v39/27062013476.jpg