GATEverse
← GATE CSE 2026 Set 2

Q45

NAT2 marks

Consider contiguous allocation of physical memory to processes using variable partitioning scheme. Suppose there are 88 holes in the memory of sizes 20KB,4 KB20 \mathrm{KB}, 4 \mathrm{~KB}, 25 KB,18 KB,7 KB,9 KB,15 KB25 \mathrm{~KB}, 18 \mathrm{~KB}, 7 \mathrm{~KB}, 9 \mathrm{~KB}, 15 \mathrm{~KB}, and 1212 KB. Assume that no two holes are adjacent. Two processes P1\text{P1} of size 1616 KB and P2\text{P2} of size 99 KB arrive in that order, and they are allocated memory using the best-fit technique. After allocating space to P1\text{P1} and P2\text{P2}, the number of holes of size less than 88 KB is _______\_\_\_\_\_\_\_. (answer in integer) Note: 1K=2101 \mathrm{K}=2^{10}

Sign in to save attempts.

Loading…