Computer Science EngineeringHardISRO SC
A process with 4 initially empty frames references pages 0, 1, 1, 5, 4, 0, 3, 4, 3, 4, 2, 1, 0, 3, 0, 5. Under LRU replacement, the number of page faults is
- A. 11
- B. 9
- C. 12
- D. 10
Correct answer: D. 10
Simulate the frames reference by reference, counting each miss (cold misses included); LRU gives 10 faults over 16 references.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- A process with 4 initially empty frames references pages 0, 2, 1, 1, 0, 3, 0, 4, 2, 4, 3, 2, 2, 2, 2, 2, 5, 2, 4, 5. Under optimal…
- A process with 3 initially empty frames references pages 5, 3, 5, 3, 6, 0, 5, 2, 1, 3, 5, 5, 1, 3, 6, 3, 3, 4, 4, 4. Under optimal…
- A process with 3 initially empty frames references pages 1, 0, 4, 1, 4, 1, 1, 4, 0, 0, 4, 4, 2, 0, 3, 4. Under LRU replacement, the number…
- A disk has cylinders 0 to 199. The head is at 82; pending requests are 11, 64, 88, 53, 193, 128, 114. Total head movement under SSTF is
- A disk has cylinders 0 to 199. The head is at 94; pending requests are 85, 45, 146, 1, 174, 44, 2. Using C-SCAN toward higher cylinders…
- A disk has cylinders 0 to 199. The head is at 67; pending requests are 190, 105, 55, 77, 78, 87, 71. Moving toward higher cylinders first…