FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMPUTER OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the difference between paging and segmentation in memory management?
A
Paging splits the process to be loaded into equal size blocks
B
Paging splits the process to be loaded into variable sized, logical blocks
C
Paging allocates frames to hold the data on the hard drive
D
Paging is used on Windows computers, segmentation on MacOS
Explanation: 

Detailed explanation-1: -In Paging, we break a process address space into blocks known as pages. In the case of Segmentation, we break a process address space into blocks known as sections. The pages are blocks of fixed size.

Detailed explanation-2: -In Paging, a process address space is broken into fixed sized blocks called pages. In Segmentation, a process address space is broken in varying sized blocks called sections. Operating System divides the memory into pages.

Detailed explanation-3: -Paging and segmentation both are the memory management schemes. Paging allows the memory to be divided into fixed sized block whereas the segmentation, divides the memory space into segments of the variable block size. Where the paging leads to internal fragmentation the segmentation leads to external fragmentation.

Detailed explanation-4: -Paging divides program into fixed size pages. Segmentation divides program into variable size segments. Compiler is responsible. Page table is used to maintain the page information.

Detailed explanation-5: -In Demand Paging, a page is loaded from the secondary memory into the primary memory, only when it is needed. On the other hand, Segmentation follows a strategy whereby the entire memory space is divided into discrete segments and each segment is allocated to a process.

There is 1 question to complete.