← Back to 5. Process Synchronization

📝 Process synchronization in Linux

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

Practice MCQs for Process synchronization in Linux. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-09

50
Easy Questions
50
Medium Questions
15
Hard Questions

📝 Sample Questions

Q1. Which function reads the current value of an atomic integer in Linux?

🔹 A. atomic_get()
🔹 B. atomic_value()
🔹 C. atomic_read()
🔹 D. atomic_retrieve()

💡 Difficulty: easy | ✅ Correct: C

Q2. Why are atomic integers considered opaque data types in Linux?

🔹 A. Their internal structure is hidden from developers
🔹 B. They cannot be accessed directly
🔹 C. They are encrypted
🔹 D. They are only accessible in assembly

💡 Difficulty: medium | ✅ Correct: A

Q3. What does a call to preempt_enable() check after decrementing preempt_count?

🔹 A. The task's CPU time
🔹 B. If preempt_count is zero, it checks for pending reschedules
🔹 C. The task's priority
🔹 D. The number of running tasks

💡 Difficulty: hard | ✅ Correct: B

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