Back to the 2022 paper

Module 5: Memory Management

20227m

Consider the virtual page reference string 0, 4, 8, 20, 24, 36, 44, 12, 68, 72, 80, 84, 28, 32, 88, 92 on a demand paged virtual memory system running on computer system that has main memory of size 4 page frames which one initially empty. The CPU uses LRU page replacement policy.
(i) How many page faults does this sequence cause?
(ii) What are the page numbers of the pages present in the main memory at the end of the sequence?

Similar questions