Difficulty: Medium
Correct Answer: segmentation
Explanation:
Introduction / Context:Fragmentation in memory management appears as either internal or external. External fragmentation occurs when free space exists but is divided into small noncontiguous blocks that are insufficient for a request, even though the total free space is adequate. Recognizing which schemes suffer most helps explain design choices like paging or hybrid strategies.
Given Data / Assumptions:
Concept / Approach:
Variable-size allocations (e.g., segmentation or dynamic partitions) create gaps as segments are loaded and removed; over time, free memory becomes fragmented externally. Paging, by contrast, eliminates external fragmentation by using uniform page/frame sizes (though it can suffer internal fragmentation in the last page). Fixed partitions also avoid external fragmentation but suffer internal waste when processes do not perfectly fill a partition.
Step-by-Step Solution:
Identify schemes with variable-sized allocations: segmentation.Assess others: pure demand paging uses fixed frames; fixed partitions are fixed-size; swapping is orthogonal.Conclude that segmentation is most prone to external fragmentation.Select 'segmentation'.Verification / Alternative check:
OS textbooks emphasize that paging eliminates external fragmentation while segmentation, dynamic partitioning, and heap-like allocators suffer from it.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
segmentation.
Discussion & Comments