$24.99
Fourth argument to your executable file will be filename. In this file the sequence of page requests will be given. You will start with a nil map of logical pages to frames and build it on demand as and when requests arrive.
A sample page requests file is given https://drive.google.com/file/d/1m-hoGYk_J9TpKpWwc6lInL4aETrzUQvG/view?usp=share_link
You need to try with 5 different files and 5 different configurations(i.e. different page sizes and frame sizes)
You are required to plot a graph for the number of page faults (on y-axis) against the total number of frames (on x-axis) for a given request pattern file. Use gnuplot to plot the graph.