The GATE Grind

GATE 2015 CS (CS2) – Question 41

Operating System · Memory Management and Virtual Memory · 2 marks · Multiple choice

Six fixed memory partitions have sizes 200,400,600,500,300,250 KB. Processes of 357,210,468,491 KB arrive in that order. Under best fit, which partitions remain unallotted?

  1. 200 KB and 300 KB
  2. 200 KB and 250 KB
  3. 250 KB and 300 KB
  4. 300 KB and 400 KB

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) 200 KB and 300 KB

Explanation

Best fit chooses the smallest currently free partition large enough. Thus 357→400, 210→250, 468→500 and 491→600. The unused partitions are two hundred and three hundred KB, A. These are fixed partitions, so internal unused space is not a newly available partition.

More Memory Management and Virtual Memory questions

All Memory Management and Virtual Memory questions →