← Back to 4. Threads in Operating System

📝 Thread Cancellation

📖 From Operating System • 4. Threads in Operating System • 41 questions available

Practice MCQs for Thread Cancellation. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-08

9
Easy Questions
22
Medium Questions
10
Hard Questions

📝 Sample Questions

Q1. What is thread cancellation in operating systems?

🔹 A. Creating a new thread
🔹 B. Terminating a thread before completion
🔹 C. Suspending thread execution
🔹 D. Increasing thread priority

💡 Difficulty: easy | ✅ Correct: B

Q2. Which type of cancellation allows a thread to perform cleanup before termination?

🔹 A. Asynchronous cancellation
🔹 B. Immediate cancellation
🔹 C. Deferred cancellation
🔹 D. Forced cancellation

💡 Difficulty: medium | ✅ Correct: C

Q3. What happens to pending cancellation requests when a thread has cancellation disabled?

🔹 A. They are discarded
🔹 B. They remain pending until the thread enables cancellation
🔹 C. They are delivered to other threads
🔹 D. They cause the process to terminate

💡 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