A computer has 16 pages of virtual address space but the size of main memory…

ISRO Scientist/Engineer SC 2014Modified — slightly modified from the official paper; see the solution

A computer has 16 pages of virtual address space but the size of main memory is only four frames. Initially the memory is empty. A program references the virtual pages in the order 0, 2, 4, 5, 2, 4, 3, 11, 2, 10. How many page faults occur if LRU page replacement algorithm is used?

  1. A.

    3

  2. B.

    5

  3. C.

    7

  4. D.

    8

Attempted by 366 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…