OS Memory Allocation Q & A #1



Question: What are the differences between paging and segmentation?

Answer: Following are the differences between paging and segmentation.

Sr. No.PagingSegmentation
1A page is a physical unit of information.A segment is a logical unit of information.
2A page is invisible to the user's program.A segment is visible to the user's program.
3A page is of fixed size e.g. 4Kbytes.A segment is of varying size.
4The page size is determined by the machine architecture.A segment size is determined by the user.
5Fragmentation may occur.Segmentation eliminates fragmentation.
6Page frames on main memory are required.No frames are required.
os_exams_questions_answers.htm
Advertisements