OSG202Xuất hiện trong 1 đề thi
A system has 3 types of resources (A, B, C) with total instances: - A = 10 - B = 5 - C = 7 \nThe Allocation and Max for each process are: - P0: Allocation = (0, 1, 0), Max = (7, 5, 3) - P1: Allocation = (2, 0, 0), Max = (3, 2, 2) - P2: Allocation = (3, 0, 2), Max = (9, 0, 2) - P3: Allocation = (2, 1, 1), Max = (2, 2, 2) - P4: Allocation = (0, 0, 2), Max = (4, 3, 3) \nWhich of the following is the correct safe sequence when applying the Banker's Algorithm?
Các lựa chọn
AP1 → P3 → P4 → P0 → P2
BP0 → P2 → P3 → P1 → P4
CP1 → P0 → P2 → P3 → P4
DP2 → P1 → P0 → P4 → P3