← Back to 9. Virtual Memory

📝 Prepaging in Virtual Memory

📖 From Operating System • 9. Virtual Memory • 8 questions available

Practice MCQs for Prepaging in Virtual Memory. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-26

2
Easy Questions
4
Medium Questions
2
Hard Questions

📝 Sample Questions

Q1. What is the main purpose of page replacement in an operating system?

🔹 A. To increase disk space
🔹 B. To free a frame for a needed page
🔹 C. To terminate processes
🔹 D. To allocate more memory to I/O buffers

💡 Difficulty: easy | ✅ Correct: B

Q2. How does demand paging aim to keep paging transparent to the user?

🔹 A. By exposing page‑fault events
🔹 B. By handling page faults entirely within the kernel
🔹 C. By requiring users to manage page tables
🔹 D. By disabling swapping

💡 Difficulty: medium | ✅ Correct: B

Q3. Two processes, P1 needing \(6\) frames and P2 needing \(4\) frames, run on a machine with \(8\) frames. P1 is executing and a page fault occurs. Which action generally yields higher overall throughput?

🔹 A. Swap out P1 entirely
🔹 B. Replace a single page from P1
🔹 C. Swap out P2
🔹 D. Increase I/O buffer size

💡 Difficulty: hard | ✅ Correct: B

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Basic concepts of Demand Paging📝 Performance of demand paging📝 Copy on Write in virtual Memory📝 Basic page replacement in virtual Memory📝 FIFO page replacement
🚀 Start Quiz 📝 Practice Mode