Page 1 of 1

Solve with detail

Posted: Sat May 14, 2022 3:41 pm
by answerhappygod
Solve with detail
Solve With Detail 1
Solve With Detail 1 (78.46 KiB) Viewed 39 times
a) Consider the following snapshot of a system. D BU Allocation ABCDE TO 4 |202|1 1| 2| 1 5 02 T2 3 2 2 1 1 T3 13 5 1 1 T40 1 3 1 3 Max AB с TO | 4 4 2 T13 1 5 T2 3 4 2 T3 2 3 5 T4| 3 1 3 Available AB C D E 1 1121 NINO Tulwl E 1 2 1 1 3 2 2 4 3 2 i) Using the banker's algorithm, determine whether or not the state is unsafe. If the state is safe, illustrate the order in which the processes may complete. Otherwise, illustrate why the state is unsafe. You must calculate the Need matrix. ii) If a request from process T1 arrives for (0,4,2,0,2), can the request be granted immediately? Explain with proper calculations.