1.

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) 6This 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

Answer»

The correct option is (c) 8

For explanation: For the GIVEN reference string, the NUMBER of page faults using optimal page replacement algorithm is said to be 8. It is SOLVED in the given diagram.



Discussion

No Comment Found

Related InterviewSolutions