Back to the 2025 paper

Module 5: Memory Management

20252m

Which page replacement algorithm replaces the page that will not be used for the longest period in the future?

(i) Optimal
(ii) Second Chance
(iii) FIFO
(iv) NRU

Worked SolutionAI Assisted

Answer: (i) Optimal

Optimal (Belady's) replaces page farthest in future — theoretically minimal faults but requires future knowledge, so not realizable; used as benchmark. Approximated by LRU.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.