943,673 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 953
  • C RSS
Oct 15th, 2008
-1

need help....urgent.pls

Expand Post »
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>
Last edited by Ancient Dragon; Oct 16th, 2008 at 7:06 am. Reason: snipped email
Similar Threads
Reputation Points: 6
Solved Threads: 0
Newbie Poster
rakeysh verma is offline Offline
1 posts
since Oct 2008
Oct 16th, 2008
5

Re: need help....urgent.pls

  1. +--------------------------------------------+
  2. | | X |
  3. |--------------------------------------------|
  4. | CONGRATULATIONS! |
  5. | |
  6. | You are the lucky moron of the moment, |
  7. | by ignoring forum rules. |
  8. | Click OK to claim your price. |
  9. | |
  10. | +------+ |
  11. | | <a rel="nofollow" href="http://www.daniweb.com/forums/announcement118-2.html" target="_blank">OK</a> | |
  12. | +------+ |
  13. +--------------------------------------------+
Aia
Reputation Points: 2224
Solved Threads: 218
Nearly a Posting Maven
Aia is offline Offline
2,304 posts
since Dec 2006
Oct 16th, 2008
0

Re: need help....urgent.pls

Hello
good job
and good linking
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JIYA1 is offline Offline
3 posts
since Oct 2008
Dec 26th, 2008
0

Re: need help....urgent.pls

Click to Expand / Collapse  Quote originally posted by JIYA1 ...
Hello
good job
and good linking
Hello,
I totally agree with Jiya.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Sara2 is offline Offline
3 posts
since Dec 2008
Dec 26th, 2008
0

Re: need help....urgent.pls

This isn't the place where you get the ready made programs but for asking the queries.
Reputation Points: 6
Solved Threads: 9
Junior Poster in Training
ajay.krish123 is offline Offline
90 posts
since Nov 2008
Sep 22nd, 2009
0

Re: need help....urgent.pls

All the new members must read the instructions before posting your queries.
This is the place where people get technical assistance.
Reputation Points: 6
Solved Threads: 9
Junior Poster in Training
ajay.krish123 is offline Offline
90 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: what is wrong with this code snippet - memset() implementation
Next Thread in C Forum Timeline: Bitwise operators





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC