CS 325
Extra credit, due May 4, 2012 at noon
Each problem is worth eight points. Show all work.
if at least one page has not been modified replace the least recently used unmodified page; else replace the least recently used page /* all have been modified */This algorithm replaces unmodified pages in preference to modified ones.
Give a reference string which illustrates that this replacement algorithm
is not a stack algorithm.  Mark modifying references with an asterisk to
distinguish them from non-modifying references.  Show the memory contents
at the end of the reference for two values of  (the number of page
frames) to illustrate the absence of memory inclusion.  There are quite
short reference strings (six references) which will do the trick.
 (the number of page
frames) to illustrate the absence of memory inclusion.  There are quite
short reference strings (six references) which will do the trick.
 frames and
 frames and  processes, then each
process gets
 processes, then each
process gets 
 frames).  The degree of
multiprogramming is currently
fixed at four.  The system was recently measured to determine utilization
of the CPU and the paging drum.  Consider each of the following to be the
results of the measurement.  For each case, what is happening?  Can the
degree of multiprogramming be increased to increase the CPU utilization?
Is the paging helping?
 frames).  The degree of
multiprogramming is currently
fixed at four.  The system was recently measured to determine utilization
of the CPU and the paging drum.  Consider each of the following to be the
results of the measurement.  For each case, what is happening?  Can the
degree of multiprogramming be increased to increase the CPU utilization?
Is the paging helping?
   
Consider a system where class accounts are organized so that the instructor and each student has a directory. A user logged onto the instructor account can access any files in the student accounts, despite the permissions associated with them. Among other things, this allows the instructor to run a grading program, executing each student's program against a common data file.
Given the protection scheme described above, describe how a class account would be organized. In particular, describe how the instructor can run the grading program without having to know the password associated with each student's directory.