CS FundamentalsModerateAccenture · Capgemini pattern

Segmentation divides a process's address space into logical units (code, stack, heap) of varying size, unlike paging's fixed-size frames. What kind of fragmentation does pure segmentation suffer from that pure paging does not?

  1. A. Both internal and external fragmentation equally, same as paging
  2. B. Internal fragmentation inside every segment
  3. C. External fragmentation: free memory becomes split into scattered holes too small individually for a new segment
  4. D. No fragmentation at all, since segments map directly to logical units

Correct answer: C. External fragmentation: free memory becomes split into scattered holes too small individually for a new segment

Because segments have varying sizes, memory is allocated and freed in different-sized chunks, leaving external gaps (holes) that no pending segment may fit — the same issue as variable-partition memory allocation. Paging avoids this since every frame is the same size, but wastes space internally in a segment/page's last partial frame.

More Operating Systems questions

Exams that ask this topic