โ† Back to 9. Virtual Memory

๐Ÿ“ Buddy system in Allocating Kernel Memory

๐Ÿ“– From Operating System โ€ข 9. Virtual Memory โ€ข 11 questions available

Practice MCQs for Buddy system in Allocating Kernel Memory. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

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

2
Easy Questions
6
Medium Questions
3
Hard Questions

๐Ÿ“ Sample Questions

Q1. What does the copyโ€‘onโ€‘write technique do when a process attempts to write to a shared page?

๐Ÿ”น A. It immediately copies the page for both processes.
๐Ÿ”น B. It delays copying the page until a write occurs.
๐Ÿ”น C. It deletes the shared page and allocates a new one.
๐Ÿ”น D. It marks the page as readโ€‘only without copying.

๐Ÿ’ก Difficulty: easy | โœ… Correct: B

Q2. A child process modifies a stack page after a fork that uses copyโ€‘onโ€‘write. Which physical page does the child receive?

๐Ÿ”น A. A new copy of the parentโ€™s page A
๐Ÿ”น B. A copy of the original page C
๐Ÿ”น C. The original page C without copying
๐Ÿ”น D. A shared copy of page B

๐Ÿ’ก Difficulty: medium | โœ… Correct: B

Q3. Parent process has pages A, B, C. After a fork with copyโ€‘onโ€‘write, the child writes to page B. What is the final state of page B in both processes?

๐Ÿ”น A. Both now reference the same physical page B.
๐Ÿ”น B. Parent keeps original B, child gets a private copy of B.
๐Ÿ”น C. Both get new private copies of B.
๐Ÿ”น D. Parentโ€™s B is discarded and only childโ€™s copy remains.

๐Ÿ’ก 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