CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

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 computer system that has main memory size of 3 page frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacement policy. Then

A
OPTIMAL = LRU
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
OPTIMAL < LRU < FIFO
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
OPTIMAL < FIFO < LRU
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
OPTIMAL = FIFO
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C OPTIMAL < FIFO < LRU

LRU :
3 3 3 1 1 1 4 4
2 2 2 2 2 3 3 3 1
1 1 1 1 4 4 4 2 2 2
M M M H M M M M MM

9 MISS
So optimal < FIFO <LRU

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Tabular Presentation
STATISTICS
Watch in App
Join BYJU'S Learning Program
CrossIcon