← Back to 9. Virtual Memory

πŸ“ Basic mechanism of Memory Mapped Files

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

Practice MCQs for Basic mechanism of Memory Mapped Files. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

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

3
Easy Questions
11
Medium Questions
7
Hard Questions

πŸ“ Sample Questions

Q1. What does the copy-on-write (COW) technique primarily aim to reduce when a process forks?

πŸ”Ή A. Memory usage
πŸ”Ή B. CPU cycles
πŸ”Ή C. Disk I/O
πŸ”Ή D. Network latency

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

Q2. Why are pages that contain executable code typically not marked as copy‑on‑write?

πŸ”Ή A. Because they are read‑only and never need a private copy
πŸ”Ή B. Because they are too large to copy
πŸ”Ή C. Because the OS cannot track execution
πŸ”Ή D. Because they cause page faults

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

Q3. Why are executable code pages typically shared between parent and child after a fork?

πŸ”Ή A. They are read‑only and never need a private copy
πŸ”Ή B. They are small enough to fit in cache
πŸ”Ή C. They contain no useful data
πŸ”Ή D. They are always swapped out

πŸ’‘ Difficulty: hard | βœ… Correct: A

⬆️ 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