← Back to 9. Virtual Memory

📝 Global versus local frames allocation

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

Practice MCQs for Global versus local frames allocation. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-26

2
Easy Questions
5
Medium Questions
2
Hard Questions

📝 Sample Questions

Q1. Which statement correctly defines a global frame allocation policy in a demand‑paging operating system?

🔹 A. Free frames are shared among all processes, and any process may be assigned any free frame.
🔹 B. Each process has a fixed number of frames that never change.
🔹 C. Frames are allocated only to the operating system kernel.
🔹 D. Frames are allocated based on the size of the process's code segment.

💡 Difficulty: easy | ✅ Correct: D

Q2. How does the valid‑invalid bit in a page table interact with global versus local allocation when a page is marked invalid?

🔹 A. In a global scheme, an invalid bit forces the OS to search all frames, while in a local scheme it only checks the owning process's frames.
🔹 B. The valid‑invalid bit works the same way regardless of allocation policy; it simply indicates whether the page is currently resident.
🔹 C. Under local allocation, an invalid bit automatically frees the frame for other processes, but not under global allocation.
🔹 D. Global allocation disables the use of the valid‑invalid bit entirely.

💡 Difficulty: medium | ✅ Correct: C

Q3. In a system that mixes both global and local allocation, which scenario most likely leads to starvation of a low‑priority process?

🔹 A. When the low‑priority process constantly accesses pages that are already in memory.
🔹 B. When high‑priority processes repeatedly cause page faults that occupy most of the free frames, leaving few frames for the low‑priority process.
🔹 C. When the low‑priority process has a larger code segment than high‑priority processes.
🔹 D. When the operating system disables swapping for the low‑priority process.

💡 Difficulty: hard | ✅ Correct: D

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