Niesen's Logo
Quick Index

Meet the Niesens
Our Wedding
School, Employment, & Resume
Hobbies & Interests
Weekly Picture Archive
Recipes
Aldi
Product Reviews
Links
Mail to
Claus   Melissa
                             COMPUTER ASSIGNMENT
                           (Due Friday of Dead Week)
     
     Given below is a segment of a high-level program, the corresponding com-
     piled machine level code with marked page boundaries, and the execution
     time "page reference string."
     
     Using the reference string as input data, write a program to analyze the
     reference string for page faults using the LRU page replacement algorithms 
     for allocations of 7, 8, 9, 10, 11, 12, and 13 pages.  This should be 
     written generally for any values of n and m.  The program output should be
     turned in for two cases:
     
          Case 1: n=2, m=2
          Case 2: n=3, m=3
     
     The output from the program should be tables in the form:
     
          Case X: n = ?, m = ?
       Allocation    Number of Page Faults
     
           7                 X
           8                 X
           9                 X
          10                 X
          11                 X
          12                 X
          13                 X
     
     Your program should be turned in with your output.
     
Page last modified: February 7, 2002
© Family Niesen 2001-2008