Access over 35 million academic & study documents

A) Describe difference between demand paging and pre paging b) Expl

Content type
User Generated
Showing Page:
1/1
a) Describe difference between demand paging and pre-
paging? b) Explain what virtual memory is and what is
needed to support it?
Solution
a) Demang paging: In this the page referenced is copied
from secondary memory to main memory only on demand.
Pre-paging: All the pages other than the one demanded by
a page fault are copied.
b) Virtual memory: This is a feature of the operating
system. In this the OS uses disk storage for storing pages
when main memory is completely occupied. The
implementation of virtual memory requires hardware
support. Typically a memory management unit is built in
the CPU.

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
a) Describe difference between demand paging and pre paging? b) Explain what virtual memory is and what is needed to support it? Solution a) Demang paging: In this the page referenced is copied from secondary memory to main memory only on demand. Pre-paging: All the pages other than the one demand ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Similar Documents