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

A memory page containing a heavily used variable that was initialised very early and is in constant use is removed when the page replacement algorithm used is-

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

The correct option is A FIFO

A memory page containing a heavily used variable that was initialised very early and is in constant use is removed when the page replacement algorithm used is FIFO (first in first out).

First-In-First-Out (FIFO) Replacement:-On a page fault, the frame that has been in memory the longest is replaced. FIFO is not a stack algorithm. In certain cases, the number of page faults can actually increase when more frames are allocated to the process.

FIFO is an acronym for first in, first out, a method for organizing and manipulating a data buffer, where the oldest (first) entry, or 'head' of the queue, is processed first.



915147_917366_ans_7a3ec65eeb544437852a0edcc1cde63f.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Administration Reforms
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon