← Back to 5. Process Synchronization

📝 The Critical Section Problem in Process Synchronization

📖 From Operating System • 5. Process Synchronization • 89 questions available

Practice MCQs for The Critical Section Problem in Process Synchronization. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-09

48
Easy Questions
34
Medium Questions
7
Hard Questions

📝 Sample Questions

Q1. What is the fundamental goal of the critical-section problem?

🔹 A. To ensure all processes execute their code in a specific order.
🔹 B. To design a protocol for processes to cooperate when accessing shared resources.
🔹 C. To maximize the speed of process execution.
🔹 D. To allocate memory efficiently to running processes.

💡 Difficulty: easy | ✅ Correct: B

Q2. The 'Progress' requirement for a critical-section solution states that:

🔹 A. Only processes in their critical sections can decide who enters next.
🔹 B. If no process is in its critical section and some wish to enter, the selection of the next process cannot be postponed indefinitely.
🔹 C. A process can be blocked forever from entering its critical section.
🔹 D. The operating system must decide which process runs next.

💡 Difficulty: medium | ✅ Correct: B

Q3. Why are preemptive kernels particularly difficult to design for Symmetric Multiprocessing (SMP) architectures?

🔹 A. Because they require a specific type of CPU.
🔹 B. Because only one CPU can run kernel code at a time.
🔹 C. Because two kernel-mode processes can run simultaneously on different processors, increasing the risk of race conditions.
🔹 D. Because they cannot handle multiple hardware interrupts.

💡 Difficulty: hard | ✅ Correct: C

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Computer System Architecture📝 Computer System Organization📝 Computing Environments📝 Kernel Data Structures📝 Memory Management
🚀 Start Quiz 📝 Practice Mode