Skip to content
Sign in
Computer PPSC

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

Tap an option to check the answer. You can also press A–D.

Explanation
FIFO replaces whichever page has been in memory the longest, regardless of how often it is used. So a page holding a heavily used, constantly referenced variable gets evicted simply because it was initialized very early. LRU and LFU would keep such a frequently used page. (Grammar fixed: is remove to is removed.) Related facts: FIFO: replaces the oldest page in memory. LRU: replaces the least recently used page. LFU: replaces the least frequently used page. Exam tip: When a question describes an old but heavily used page being evicted, the intended algorithm is almost always FIFO.