Science, asked by manasa1958, 1 year ago

Difference between paging and segmentation

Answers

Answered by neelvikram
0
Paging is used to get a large linear address space without having to buy more physical memory. Segmentation allows programs and data to be broken up into logically independent address spaces and to aid sharing and protection.

Paging does not distinguish and protect procedures and data separately.
Segmentation distinguishes and separately protects procedures and data.

Unlike segmentation, Paging does not facilitate sharing of procedures.

Paging is transparent to programmers(system handles it automatically).
Segmentation requires programmer to be aware of memory limits as programmer
tries to allocate memory to functions and variables or tries to access read 
only memory violation, which results in segmentation fault
Similar questions