GATE CSE 2022 Q64: Page fault rate with LRU and four frames
- Operating System
- 2 marks
- NAT
- No negative marking
Question
Consider a demand paging system with four page frames (initially empty) and LRU page replacement policy. For the following page reference string
the page fault rate, defined as the ratio of number of page faults to the number of memory accesses (rounded off to one decimal place) is_________.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 0.6 (official GATE 2022 final answer key)
Concept used: LRU evicts the page whose last use is furthest in the past.
First step: Simulate the 15 references with 4 frames, marking faults; the first four distinct pages (7, 2, 3, 5) all fault.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2022 CS question paper and final answer key, organised by IIT Kharagpur. Question paper · Answer key
More Operating System PYQs
- 2026 Session 1 · Q29False statements about deadlocks
- 2026 Session 1 · Q35Minimum resource instances for deadlock freedom (5 processes, max 2)
- 2026 Session 1 · Q59Disk transfer time for random sectors on tracks 5, 12, 7
- 2026 Session 1 · Q63Number of printf calls with fork, continue and break
- 2026 Session 1 · Q64Average FCFS waiting time for alternating A and C processes
- 2026 Session 2 · Q23CPU scheduling algorithm that cannot be preemptive