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>

Salem commented: Gimme an 'F', gimme an 'A', gimme an 'I', gimme an 'L' -4

Recommended Answers

All 5 Replies

+--------------------------------------------+
|                                        | X |
|--------------------------------------------|
|             CONGRATULATIONS!               |
|                                            |
|   You are the lucky moron of the moment,   |
|         by ignoring forum rules.           |
|       Click OK to claim your price.        |
|                                            |
|                 +------+                   |
|                 |  OK  |                   |
|                 +------+                   |
+--------------------------------------------+
commented: Excellent response! +22
commented: Perfect !! +3
commented: Impressive wit. +29
commented: Love it! :icon_razz: +17
commented: Ha! +2

Hello
good job
and good linking

Hello
good job
and good linking

Hello,
I totally agree with Jiya.

This isn't the place where you get the ready made programs but for asking the queries.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.