← Back to 9. Virtual Memory

πŸ“ I/O interlock and page locking

πŸ“– From Operating System β€’ 9. Virtual Memory β€’ 14 questions available

Practice MCQs for I/O interlock and page locking. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

πŸ”„ Last updated: 2026-07-26

3
Easy Questions
5
Medium Questions
6
Hard Questions

πŸ“ Sample Questions

Q1. When a system reserves a fixed percentage of memory for I/O buffers and a user process triggers a page fault while all frames are occupied, which mechanism is typically employed to continue execution?

πŸ”Ή A. Terminate the process immediately
πŸ”Ή B. Swap out the entire process
πŸ”Ή C. Perform page replacement on a non‑I/O page
πŸ”Ή D. Increase the size of the I/O buffer pool

πŸ’‘ Difficulty: easy | βœ… Correct: C

Q2. A system allows both user processes and the I/O subsystem to compete for all available memory. When a page fault occurs and no free frames exist, which approach most effectively maintains multiprogramming while minimizing disruption?

πŸ”Ή A. Allocate additional memory to the I/O subsystem
πŸ”Ή B. Terminate the requesting process
πŸ”Ή C. Swap out the entire requesting process
πŸ”Ή D. Apply a page‑replacement policy to select a victim frame

πŸ’‘ Difficulty: medium | βœ… Correct: D

Q3. Under what circumstances is swapping out an entire process preferable to performing individual page replacements?

πŸ”Ή A. When the system has abundant free memory
πŸ”Ή B. When the memory pressure is extreme and many pages are idle
πŸ”Ή C. When only a single page is needed for I/O
πŸ”Ή D. When the process uses no I/O buffers

πŸ’‘ 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