1.

In a FIFO algorithm, when a page is to be replaced, which of the following page is chosen?(a) Oldest page(b) Newest page(c) Frequently occurred page in past(d) Frequently occurred page in futureI have been asked this question by my school principal while I was bunking the class.My question is based upon Page Replacement Algorithms topic in section Page Replacement Algorithms of Data Structures & Algorithms II

Answer»

The CORRECT answer is (a) OLDEST page

Easiest explanation - In FIFO page REPLACEMENT algorithm, when a page is to be replaced, the oldest page is CHOSEN and replaced at the tail of the QUEUE.



Discussion

No Comment Found

Related InterviewSolutions