Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q701: Which method ensures that deadlocks never occur by preventing one of the necessary conditions?
  • A: Deadlock avoidance
  • B: Deadlock prevention
  • C: Deadlock detection
  • D: Deadlock recovery
View Answer
B

Q702: Deadlock avoidance requires _______ information from processes.
  • A: Prior
  • B: No
  • C: Future
  • D: Immediate
View Answer
C

Q703: In deadlock prevention, to avoid hold and wait, a process must request all resources _______.
  • A: After starting execution
  • B: Before starting execution
  • C: After release of first resource
  • D: During deadlock
View Answer
B

Q704: Mutual exclusion is required for _______ resources.
  • A: Sharable
  • B: Read-only
  • C: Non-sharable
  • D: Volatile
View Answer
C

Q705: Read-only files are considered _______ resources.
  • A: Non-sharable
  • B: Sharable
  • C: Temporary
  • D: Dynamic
View Answer
B

Q706: If a process requests a resource and it is not available, and all currently held resources are released, which method is applied?
  • A: Hold and wait
  • B: Preemption
  • C: Starvation
  • D: Circular wait
View Answer
B

Q707: Circular wait can be prevented by _______.
  • A: Allowing multiple holds
  • B: Using random resource requests
  • C: Total ordering of resources
  • D: Starving all processes
View Answer
C

Q708: In total ordering, resources must be requested in _______ order.
  • A: Increasing
  • B: Decreasing
  • C: Random
  • D: Simultaneous
View Answer
A

Q709: A _______ state means the system can allocate resources without causing deadlocks.
  • A: Deadlock
  • B: Unsafe
  • C: Safe
  • D: Circular
View Answer
C

Q710: In deadlock prevention, resource utilization may be _______.
  • A: Optimal
  • B: Low
  • C: Balanced
  • D: Predictable
View Answer
B

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now