Question: Q . 1 ) Q . 1 ) Consider a system with 6 processes P 1 , P 2 , P 3 , P 4

Q.1)Q.1)
Consider a system with 6 processes P1, P2, P3, P4, P5 and P6 who are requesting for 4 resource types - A,
B,C and D at the same time. The following snapshot of the system has been given at the moment.
A) Compute the Need Matrix for the above data.
B)
Is the system in a safe state? Why? If yes, show the safe sequence. Kindly show each and every step of
your solution
(8 points)
C)
Now, if a request from process P2 arrives for (1,1,0,1), should the request be granted immediately? Why
or Why not? Kindly show each and every step of your solution.
[8 points]
Consider a system with 6 processes P1, P2, P3, P4, P5 and P6 who are requesting for 4 resource types A,
B, C and D at the same time. The following snapshot of the system has been given at the moment.
Process Maximum Allocation Available
A B C D A B C D A B C D
P1421220013321
P252523121
P323162103
P414241312
P536651432
P642351022
A) Compute the Need Matrix for the above data. (4 points)
B)
Is the system in a safe state? Why? If yes, show the safe sequence. Kindly show each and every step of
your solution (8 points)
C)
Now, if a request from process P2 arrives for (1,1,0,1), should the request be granted immediately? Why
or Why not? Kindly show each and every step of your solution. (8 points)
*************************************************************************************
 Q.1)Q.1) Consider a system with 6 processes P1, P2, P3, P4,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!