Professional Documents
Culture Documents
Group Project Part A
Group Project Part A
Group Project Part A
a. Under what circumstances does page fault occur? Describe the actions
taken by the operating system when a page fault occurs.
b. Consider the following page reference string:
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6
How many page faults would occur for the following replacement
algorithms, assuming three and four frames? Remember that all frames are
initially empty, so your first unique pages will cost one page fault each.
o LRU replacement
o FIFO replacement
o Optimal replacement
How can the operating system be designed so that we can attach new
devices to the computer without rewriting the operating system? And
when the devices vary so widely, how can the operating system give a
convenient, uniform I/O interface to applications?
Q5: File System Implementation