Dr. R                                                                                                                                                                                                             COP5614 Sp02

Program 3 - Page Replacement Algorithms



I have written basic program to simulate the actions on a reference string. You can find it here.

You need to write to four different fault methods  (I have written OPT as an example). The fault methods are for the following page replacement algorithms:  FIFO,  LRU,  CHANCE2 (2nd chance) and  NRU

Collect all your routines into a single file called: fault.h (which is included by my code).



Turn in:
    Send me the file fault.h by the deadline.
   subject : COP5614 Page Replacement <yourname>


Notes:
       Be careful not to use any fields that are not part of a given method.
       You do not need to implement any queues!
        Ref, Mod and RefT are set by the 'CPU' not you. Yyou can set load time if necessary.

!! If you have any problems - notify me !!