Q Define segmentation and its advantages . ( 4 m )
Ans :- Segments are logical entities such as program or data. A typical segmentation diagram is shown in figure.
Virtual address provides segment address and offset address. Segment address is added with segment base address to point segments in segment table.
Segment base address to point segments in segment table. Now offset address will be added with Base address form segment table which generates linear address in which we are interested.
Advantages of segmentation
1) Sharing of memory becomes easy
2) Segmentation can grow dynamically
3) It provides virtual memory.
- WikiNote Foundation