InterviewSolution
Saved Bookmarks
| 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 3. Calculate the number of page faults using optimal page replacement algorithm.(a) 10(b) 9(c) 8(d) 7I have been asked this question during an interview.This question is from Page Replacement Algorithms topic in portion Page Replacement Algorithms of Data Structures & Algorithms II |
|
Answer» RIGHT option is (b) 9 The EXPLANATION is: For the GIVEN string, the number of page faults USING optimal page replacement algorithm is 9. It is solved in the given diagram. |
|