I want the following.

Write a program that implements the FIFO and LRU page-replacement algorithms ( Virtual Memory)

1) Read the size of reference string from keyboard
2) Generate a random page-reference string where page numbers range from 0 to 9
3) Create a input file with generated reference string
4) Read the number of page frames vary from 1 to 7 from keyboard
5) Read the random page-reference string from input file and apply to each algorithm
6) Create a output file with the number of page faults incurred by each algorithm
7) Assume that demand paging is used
8) Test your program with 20 reference strings and three difference number of page frames (1, 4, and 7)
9) Submit your source code, input file, and three output files for each number of page frames (1, 4. and 7)

my email id is <snipped>

Votes + Comments
Gimme an 'F', gimme an 'A', gimme an 'I', gimme an 'L'
8 Years
Discussion Span
Last Post by ajay.krish123
|                                        | X |
|             CONGRATULATIONS!               |
|                                            |
|   You are the lucky moron of the moment,   |
|         by ignoring forum rules.           |
|       Click OK to claim your price.        |
|                                            |
|                 +------+                   |
|                 |  OK  |                   |
|                 +------+                   |
Votes + Comments
Love it! :icon_razz:
Impressive wit.
Perfect !!
Excellent response!

All the new members must read the instructions before posting your queries.
This is the place where people get technical assistance.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.