A process contains eight virtual pages on disk and is assigned a fixed…

A process contains eight virtual pages on disk and is assigned a fixed allocation of four-page frames in main memory. The following page trace occurs:

1, 0, 2, 2, 1, 7, 6, 7, 0, 1, 2, 0, 3, 0, 4, 5, 1, 5, 2, 4, 5, 6, 7, 6, 7, 2, 4, 2, 7, 3, 3, 2, 3.

The hit ratio in main memory for four frames using the LRU replacement policy. Assume that the frames are initially empty.

  1. A.

     17/33

  2. B.

     14/33

  3. C.

     15/33

  4. D.

     16/33

Attempted by 70 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…