...
File-System
April 23, 2024
Question 8819 – Database-Management-System
April 23, 2024
File-System
April 23, 2024
Question 8819 – Database-Management-System
April 23, 2024

Operating-Systems

Question 26

Consider the virtual page reference string

1, 2, 3, 2, 4, 1, 3, 2, 4, 1  

On a demand paged virtual memory system running on a computer system that main memory size of 3 pages frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacements policy. Then

A
OPTIMAL < LRU < FIFO
B
OPTIMAL < FIFO < LRU
C
OPTIMAL = LRU
D
OPTIMAL = FIFO
Question 26 Explanation: 
FIFO:

No. of page faults with FIFO = 6

LRU:

No. of page faults with LRU = 9

Optimal:

No. of page faults with optimal = 5
∴ Optimal < FIFO < LRU

Correct Answer: B
Question 26 Explanation: 
FIFO:

No. of page faults with FIFO = 6

LRU:

No. of page faults with LRU = 9

Optimal:

No. of page faults with optimal = 5
∴ Optimal < FIFO < LRU

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!