Question 52Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2

A 500 kbyte memory is managed using variable memory partitions and are allowed for compaction. It is currently 2 partitions of sizes 100 kbytes and 130…

A 500 kbyte memory is managed using variable memory partitions and are allowed for compaction. It is currently 2 partitions of sizes 100 kbytes and 130 kbytes respectively. The smallest allocation request in Kbytes that could be denied is for ________.
  1. A250
  2. B270
  3. C271
  4. D170
Show answerHide answer

Correct answer: (C) 271

Explanation

Free memory = 500 − (100 + 130) = 270 KB. With compaction, all of it can be joined into one block, so any request up to 270 KB succeeds and the smallest request that can be denied is 271 KB.

From DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 2

This is question 52 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.