Consider a reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 4. Calculate the number of page faults using optimal page replacement algorithm.
(a) 7
(b) 9
(c) 8
(d) 6
This question was addressed to me during an online exam.
This question is from Page Replacement Algorithms topic in portion Page Replacement Algorithms of Data Structures & Algorithms II