Create a program (.cpp) that would simulate MRU (MOST RECENTLY USED) PAGE REPLACEMENT ALGORITHM. Refer to the sample run
Posted: Thu Jul 14, 2022 2:27 pm
Create a program (.cpp) that wouldsimulate MRU (MOST RECENTLY USED) PAGE REPLACEMENTALGORITHM. Refer to the sample run below:
( you need a file checker that will link to the .cpp , and thefile checker is on .txt file)
file checker content:
Programmed by: Juan Dela CruzMP06 - MRU PAGE REPLACEMENT
enter reference string size: 20enter reference string : 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 01Frame Size: 3
Page Replacement Table:
(insert table here)Display Page Fault:14:
(display page fault here)
Do you want to run again [y/n]:
( you need a file checker that will link to the .cpp , and thefile checker is on .txt file)
file checker content:
Programmed by: Juan Dela CruzMP06 - MRU PAGE REPLACEMENT
enter reference string size: 20enter reference string : 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 01Frame Size: 3
Page Replacement Table:
(insert table here)Display Page Fault:14:
(display page fault here)
Do you want to run again [y/n]: