0 votes 0 votes Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are _____ 5 7 9 10 Operating System ugcnetcse-july2018-paper2 operating-system page-fault paging + – Pooja Khatri asked Jul 13, 2018 recategorized Oct 15, 2018 by Pooja Khatri Pooja Khatri 3.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes For the 1st 3 pages , there would be page faults. Next 2 is already in frame. Next least recently used 1 is replaced by 4. Next 2 is already in frame. Then LRU 3 is replaced by 5. Then 2 is already in frame. Then 4 is replaced by 3 and 5 is replaced by 4. Hence a total of 7 page faults Sayan Bose answered Jul 15, 2018 Sayan Bose comment Share Follow See all 0 reply Please log in or register to add a comment.