Practice mode Operating Systems

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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.