Locality of reference implies that the page reference being made by a process:

1997

Locality of reference implies that the page reference being made by a process:

  1. A.

    will always be to the page used in the previous page reference

  2. B.

    is likely to be to one of the pages used in the last few page references

  3. C.

    will always be to one of the pages existing in memory

  4. D.

    will always lead to a page fault

Attempted by 17 students.

Show answer & explanation

Correct answer: B

The locality of reference says that a process tends to access a small working set of pages repeatedly over a short interval. Therefore, a page reference is likely to be to one of the pages used in the last few references, but this is not an absolute guarantee. Hence option 2 is correct.

Explore the full course: Gate Guidance By Sanchit Sir