GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set2

GATE 2026 set2 · CS · NAT · 2 marks · Operating System › Memory Management

GATE 2026 set2 Computer Science and Information Technology question: Consider contiguous allocation of physical memory to processes using variable…

Consider contiguous allocation of physical memory to processes using variable partitioning scheme. Suppose there are 8 holes in the memory of sizes 20 KB, 4 KB, 25 KB, 18 KB, 7 KB, 9 KB, 15 KB, and 12 KB. Assume that no two holes are adjacent. Two processes P1 of size 16 KB and P2 of size 9 KB arrive in that order, and they are allocated memory using the best-fit technique. After allocating space to P1 and P2, the number of holes of size less than 8 KB is ____________. (answer in integer)

Note:

Show answer

Official answer: 3

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion