COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

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. The sections are blocks of varying sizes.

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: -The basic difference between paging and segmentation is that, “page” is a fixed-sized block whereas, a “segment” is a variable-sized block.

Detailed explanation-4: -To conclude, both paging and segmentation are non-contiguous memory allocation schemes. Paging allows a process to be saved in a non-contiguous way in memory. Segmentation, on the other hand, divides the process into variable-size segments that are loaded into the logical memory address space.

Detailed explanation-5: -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.

There is 1 question to complete.