Fifo page replacement algorithm on SUN

McBainMcBain San Clemente, CA New
edited April 2005 in Internet & Media
hey guys....last semester of school here for electrical engineering and I've got a helluva pickle. I've been so damn busy working on my final project, I've neglected one of my required CIS classes. Heres the assignment...I'm looking for a good poke in the right direction here because with C++, I'm terrible.

Objective
Exercise for memory management.

Assignment
Implement the FIFO page replacement algorithm.

Requirements
1. Read the reference string from a file, the file name is provided by the user at run time.
2. Read the number of frames per process from the user at run time.
3. Output all the page numbers in memory every time a new page in brought in.
4. Output the total number of page faults at the end.
Sign In or Register to comment.