Which technique removes external fragmentation by shuffling memory contents so that all free space forms one large block?
Correct answer B. Compaction
Explanation
Compaction moves allocated blocks together so the scattered holes merge into one contiguous free block. It is possible only when relocation is dynamic, done at execution time, because every moved process's base address must change, and it is expensive since a lot of memory is copied. Paging and segmentation with paging avoid the need by letting a process occupy non-contiguous memory.
Answer checked How we write and check questions
Discussion