title: What is the difference between demand paging and page replacement?
body: <p>From what I understand, demand paging is basically paging with swapping, so you can swap in a page when it is needed. But page replacement seems like more or less the same thing, where you bring in a page is needed and switching it with an existing page in physical memory.</p>
  
  <p>So is there a distinct difference? </p>