Question discussion

Memory has free partitions of 100 KB, 500 KB, 200 KB, 300 KB and 600 KB (in this order). Processes of 212 KB, 417 KB, 112 KB and 426 KB arr…

1711Medium DSSSB TGT Computer Science 0 replies 1 views
0

Memory has free partitions of 100 KB, 500 KB, 200 KB, 300 KB and 600 KB (in this order). Processes of 212 KB, 417 KB, 112 KB and 426 KB arrive in this order. Which process cannot be allocated memory under the First-Fit policy?

  • A212 KB
  • B426 KB
  • C112 KB
  • D417 KB
Correct answer: B

Explanation

First-fit puts 212 and 112 in the 500 KB partition and 417 in the 600 KB partition, leaving holes of 100, 176, 200, 300 and 183 KB, none of which can hold 426 KB.

Discussion 0

Nobody has replied yet. Start the discussion!