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

ProcessAccessed Needed Stll Need Accessed NeededSll Need Process A1 Process B4 R

ID: 3584908 • Letter: P

Question

ProcessAccessed Needed Stll Need Accessed NeededSll Need Process A1 Process B4 Remaining Resources According to the Dijkstras Bankers algorithm with the following Data true true true false Process A and Process B are in an unsafe state false - If process B returned 1 of the left resources, then the state would become SA false - If A returned I of the left resoturces, then the state would become SA the system would become . true . false . I, the sy tem based ante e the right resouce, tbe wlaem-told become SAFE

Explanation / Answer

Here Process B needs total 6 resources. It already have 4 and still need two. So the remaining 2 will allocate to process B and it will execute. Then after completion of the execution of B, 6 resources will free and process A will still need 3, so it will also execute to its complition and both process become SAFE.

In second process A still need 2 resources and two remaining resources are there. So it will execute and then process B will execute, so both are SAFE.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote