OSG202Xuất hiện trong 3 đề thi
Suppose there are 4 memory blocks, B1, B2, B3, and B4, with sizes of 600K, 500K, 200K, and 300K, respectively. And we have 4 processes, P1, P2, P3, and P4, with corresponding request sizes of 250K, 420K, 150K, and 450K. \nWhen applying the best-fit algorithm, which memory blocks are allocated to the process?
Các lựa chọn
AP1→B4, P2→B2, P3→B3, P4→B1
BP1→B4, P2→B1, P3→B3, P4→B2
CP1→B1, P2→B2, P3→B4, B4: none allocated
DP1→B1, P2→B2, P3→B3, B4: none allocated