recategorized by
11,391 views
33 votes
33 votes

A memory page containing a heavily used variable that was initialized very early and is in constant use is removed then

  1. LRU page replacement algorithm is used

  2. FIFO page replacement algorithm is used

  3. LFU page replacement algorithm is used

  4. None of the above

recategorized by

2 Answers

Best answer
37 votes
37 votes
FIFO replaces a page which was brought into memory first will be removed first so since the variable was initialized very early. it is in the set of first in pages. so it will be removed answer: (B) if you use LRU - since it is used constantly it is a recently used item always. so cannot be removed. If you use LFU - the frequency of the page is more since it is in constant use. So cannot be replaced.
edited by
0 votes
0 votes

constant use: against LRU

 You use constant to describe something that happens all the time or is always there.  

Heavily used: against LFU

Informal using large quantities of  ..

 

So the answer is FIFO

Answer:

Related questions

21 votes
21 votes
7 answers
2
Kathleen asked Oct 4, 2014
18,419 views
Algorithm design technique used in quicksort algorithm is?Dynamic programmingBacktrackingDivide and conquerGreedy method
19 votes
19 votes
3 answers
3