engineering recuitment GATE CSE 2023-24 Test Series Operating Systems Memory Management Contiguous Allocation
A computer installation has 1000 KB of main memory, Jobs arrive and finish in the following sequence.
Job 1 requiring 200 KB arrives
Job 2 requiring 350 KB arrives
Job 3 requiring 300 KB arrives
Job 1 finishes
Job 4 requiring 120 KB arrives
Job 5 requiring 150 KB arrives
Job 6 requiring 70 KB arrives
Between best-fit and first-fit, which one will perform better for this process sequence?
1
Cannot be determined
2
Both, first-fit and best-fit
3
Best-fit
4
First-fit