Locality of reference implies that the page reference being made by a process A. will always be to the page used in the previous page reference B. is likely to be to one of the pages used in the last few page references C. will always be to one of the pages existing in memory D. will always lead to a page fault
GATE 1997 · Operating System · Page Replacement · easy
Answer: B. is likely to be to one of the pages used in the last few page references
- Eliminate the 'always' options: Options A, C, and D all use absolute terms. A says 'always to the previous page' — false, a process can access any page. C says 'always to pages in memory' — false, page faults happen. D says 'always lead to a page fault' — false, locality means pages are likely already in memory.
- Confirm option B: Option B states the access 'is likely to be to one of the pages used in the last few page references.' This precisely captures temporal and spatial locality — the working set of recently used pages covers most future accesses.