| | |
need help....urgent.pls
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2008
Posts: 1
Reputation:
Solved Threads: 0
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>
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
C Syntax (Toggle Plain Text)
+--------------------------------------------+ | | X | |--------------------------------------------| | CONGRATULATIONS! | | | | You are the lucky moron of the moment, | | by ignoring forum rules. | | Click OK to claim your price. | | | | +------+ | | | <a rel="nofollow" class="t" href="http://www.daniweb.com/forums/announcement118-2.html" target="_blank">OK</a> | | | +------+ | +--------------------------------------------+
"If it moves, tax it. If it keeps moving, regulate it, and if it stops moving, subsidize it" - Ronald Reagan
![]() |
Similar Threads
- Pls help...getting text from another window form (C++)
- Remove Method! urgent help pls. 10q (Java)
- Urgent Help- Printing Screen (Pascal and Delphi)
- Urgent Pls Help: My codes are in errors! (C++)
- pls heeeeeeeeelp its urgent. (C)
- URGENT - Reading from txt file into a 2 dimension array (Java)
- help!! My applet can't run... Urgent!! (Java)
- Help me... it's urgent!! (Java)
Other Threads in the C Forum
- Previous Thread: what is wrong with this code snippet - memset() implementation
- Next Thread: BGI Error:- Graphics not Initialized(Use Initgraph)
Views: 751 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C
#include * .net append array arrays asterisks binarysearch calculate changingto char character cm command copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic execv feet fgets file fork forloop framework function functions givemetehcodez grade graphics gtkwinlinux hacking histogram homework include incrementoperators input intmain() iso kernel keyboard km lazy license linked linkedlist linux list lists locate logical_drives looping loopinsideloop. lowest matrix microsoft mqqueue mysql number oddnumber odf opensource overwrite owf pdf performance pointer pointers posix probleminc process program programming radix recursion recv recvblocked research reversing scanf scripting segmentationfault sequential socket spoonfeeding standard string student systemcall testing threads turboc unix user variable wab whythiscodecausesegmentationfault windowsapi






