Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q721: In a safe sequence, each process must be able to finish with _______ resources.
- A: Future
- B: Allocated + Available
- C: Shared
- D: None
View Answer
B
Q722: Which process order ensures a safe sequence?
- A: Any random
- B: Based on resource needs
- C: Circular sequence
- D: Shortest job first
View Answer
B
Q723: If a system has entered an unsafe state, deadlock is _______.
- A: Certain
- B: Avoided
- C: Not possible
- D: Ignored
View Answer
A
Q724: The Resource Allocation Graph Algorithm helps in _______.
- A: Allowing deadlocks
- B: Preventing deadlocks
- C: Random allocation
- D: Sequential execution
View Answer
B
Q725: System allocates resources after checking available and allocated resources and _______ requests.
- A: Past
- B: Future
- C: Current
- D: Previous
View Answer
B
Q726: Circular wait is proved impossible by _______.
- A: Holding all resources
- B: Mathematical contradiction
- C: Allowing preemption
- D: Ignoring the problem
View Answer
B
Q727: Deadlock is prevented if processes follow resource requests in _______.
- A: Decreasing order
- B: Alphabetical order
- C: Increasing order
- D: No order
View Answer
C
Q728: Deadlock avoidance dynamically examines the _______ state.
- A: System shutdown
- B: Resource-allocation
- C: Request-order
- D: CPU scheduling
View Answer
B
Q729: What resource allocation state makes the system unsafe?
- A: Deadlock state
- B: Starved state
- C: Preempted state
- D: Circular wait state
View Answer
A
Q730: Which among these is NOT a deadlock handling strategy?
- A: Deadlock prevention
- B: Deadlock avoidance
- C: Deadlock creation
- D: Deadlock recovery
View Answer
C