Question-1 Compare paging and segmentation.
|Paging was invented to get large address apace without having to buy more physical memory.||Segmentation was invented to allow programs and data to be broken up into logically independent address space and to add sharing
|The programmer does not aware that paging is used.||The programmer is aware that segmentation is used.|
|Address space is one dimensional.||Many independent address spaces are there.|
|Procedure and data cannot be distinguished and protected separately.||Procedure and data be distinguished and protected separately.|
|Change in data or procedure requires compiling entire program.||Change in data or procedure requires compiling only affected segment not entire program.|
|Sharing of different procedures not available.||Sharing of different procedures available.|