(A) 9 and 7
(B) 7 and 6
(C) 9 and 8
(D) 8 and 6
Answer C.
Explanation.
Order of pages. ABACABDBACD.
|
FIFO(Frame)
|
Count of page fault
|
LRU(least recently used frame)
|
Count of page fault.
|
A
|
a
|
1
|
a
|
1
|
B
|
ab
|
2
|
ab
|
2
|
A
|
ab
|
2
|
ab
|
2
|
C
|
bc
|
3
|
ac
|
3
|
A
|
ca
|
4
|
ac
|
3
|
B
|
ab
|
5
|
ab
|
4
|
D.
|
bd
|
6
|
ad
|
5
|
B
|
bd
|
6
|
ab
|
6
|
A
|
da
|
7
|
ab
|
6
|
C
|
ac
|
8
|
ac
|
7
|
d
|
cd
|
9
|
ad
|
8
|
No comments:
Post a Comment
Note: only a member of this blog may post a comment.