Demand Paging and Page Replacement Algorithms