1. Here is Difference between Paging and Segmentation.
The main Differences are:
A page is a contiguous range of memory addresses which is mapped to physical memory.
A segment is an independent address space. Each segment has addresses in a range from 0 to maximum value.
It has only one linear address space.
It has many address spaces.
Programmer does not know that it is implemented
Programmer knows that it is implemented.
Procedures and data cannot be separated
Procedures and data can be separated
Procedures and data cannot be protected separately
Procedures and data can be protected separately
Compilation cannot be done separately
Compilation can be done separately
A page is a physical unit
A segment is a logical unit
A page is of fixed size
A segment is of arbitrary size