๐ From Operating System โข 9. Virtual Memory โข 9 questions available
Practice MCQs for Optimal page replacement. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
๐ Last updated: 2026-07-26
Q1. A program accesses pages in the order 1,2,3,4,1,2,5,1,2,3,4,5 and the system has three page frames. Using the optimal pageโreplacement algorithm, how many page faults occur?
๐ก Difficulty: easy | โ Correct: B
Q2. What is the definition of the optimal pageโreplacement algorithm in demandโpaging systems?
๐ก Difficulty: medium | โ Correct: B
Q3. A workload causes 15 page faults under the optimal algorithm and 25 faults under FIFO. If each pageโin from disk takes 10โฏms, what is the total reduction in swapโin time (in milliseconds) when using the optimal algorithm?
๐ก Difficulty: hard | โ Correct: C
โฌ๏ธ View all questions in the quiz below