Computer Science EngineeringHardISRO SC
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 of page faults is
- A. 7
- B. 6
- C. 5
- D. 8
Correct answer: B. 6
Simulate the frames reference by reference, counting each miss (cold misses included); LRU gives 6 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 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…
- Processes (arrival, burst in ms): P1(0, 8), P2(4, 3), P3(2, 4), P4(1, 7). Under preemptive SJF (SRTF), the average waiting time in ms is
- Processes (arrival, burst in ms): P1(0, 3), P2(3, 7), P3(1, 6), P4(2, 5). Under preemptive SJF (SRTF), the average waiting time in ms is
- Four processes arrive together with CPU bursts 5, 8, 14, 9 ms in the order P1..P4. With round robin, time quantum 4 ms, the average…