OSG202Xuất hiện trong 1 đề thi
A system has three processes: P1, P2, P3 and four resources: RS1, RS2, RS3, RS4. The following allocation (C1, C2, C3) and request (R1, R2, R3) matrices are given: | Allocated | RS1 | RS2 | RS3 | RS4 | | Requested | RS1 | RS2 | RS3 | RS4 | |-----------|-----|-----|-----|-----| |-----------|-----|-----|-----|-----| | C1 | 1 | 0 | 0 | 1 | | R1 | 2 | 0 | 0 | 1 | | C2 | 2 | 1 | 0 | 1 | | R2 | 0 | 1 | 1 | 0 | | C3 | 0 | 1 | 2 | 0 | | R3 | 1 | 1 | 0 | 0 | \nAvailable resources: (2,1,0,1) \nWhat is the correct execution order of processes?
Các lựa chọn
AP3 → P2 → P1
BP2 → P1 → P3
CP1 → P2 → P3
DP2 → P3 → P1