Interview Question

Created by admin on Sat, 17/11/2012 - 17:58
Question: 

What are demand- and pre-paging?

Language: 
Answer: 

With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution. With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.