Q6Operating System
Question
2 marks
Define Segmentation.
Answer
Segmentation is a memory management scheme that supports the user's view of memory by dividing a program into logically related units called segments.
Segmentation is a non-contiguous memory management technique where a program is divided into variable-sized logical units called segments (e.g., code segment, data segment, stack segment). Each segment has a name and length. The logical address consists of a segment number and an offset. A segment table maps each segment number to its base address and limit in physical memory. Segmentation supports the user's logical view of memory and allows sharing and protection at the segment level. It can cause external fragmentation.