Course Solutions Uncategorized (Solved) : Need Help C Code Implementing Virtual Memory Manager Given File Containing Logical Adresse Q27305787 . . . .

(Solved) : Need Help C Code Implementing Virtual Memory Manager Given File Containing Logical Adresse Q27305787 . . . .

 

I need help in my C code..

I am implementing a Virtual Memory Manager. we are given filecontaining logical adresses. and we have to translate them tophysical adress and print out signed byte value stored in thataddress.

But we need to use the clock replacement policy or second-chancealgorithm as the page replacement algorithm. Use C/C++ as yourlanguage.

pdf book link..

http://materias.fi.uba.ar/7508/OSC9/Abraham%20Silberschatz-Operating%20System%20Concepts%20(9th,2012.12).pdf

first few lines of input textfile(there are 1000 logicaladresses in the file.):

16916
62493
30198
53683
40185
28781
24462
48399
64815
18295
12218
22760
57982
27966
54894
38929
32865
64243
2315
64454

Sample output:

Virtual address: 16916 Physical address: 20 Value: 0
Virtual address: 62493 Physical address: 285 Value: 0
Virtual address: 30198 Physical address: 758 Value: 29
Virtual address: 53683 Physical address: 947 Value: 108
Virtual address: 40185 Physical

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post