Thursday, June 7, 2007

Question 25

In a virtual storage system in which the real memory space usable by a program is 3 pages, if a program with a size of 6 pages is executed, how many times will page faults occur? In this example, the page reading sequence during program execution is 0, 1, 2, 3, 4, 0, 2, 4, 3, 1, 4, 5. The paging method is LRU (Least Recently Used), and in the initial state, none of the pages has been read into the real memory.

a) 9
b) 10
c) 11
d) 12

answer

No comments: