Can you please explain the difference between demand-paging and pre-paging?

Submitted by: Muhammad
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.
Submitted by: Muhammad

Read Online Operating System (OS) Job Interview Questions And Answers