Javatpoint Logo
Javatpoint Logo

Numerical on Optimal, LRU and FIFO

Q. Consider a reference string: 4, 7, 6, 1, 7, 6, 1, 2, 7, 2. the number of frames in the memory is 3. Find out the number of page faults respective to:

  1. Optimal Page Replacement Algorithm
  2. FIFO Page Replacement Algorithm
  3. LRU Page Replacement Algorithm

Optimal Page Replacement Algorithm


OS Numerical on Optimal

Number of Page Faults in Optimal Page Replacement Algorithm = 5

LRU Page Replacement Algorithm


OS Numerical on LRU

Number of Page Faults in LRU = 6

FIFO Page Replacement Algorithm


OS Numerical on FIFO

Number of Page Faults in FIFO = 6


Next TopicBeladys Anamoly





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA