Question



What is a deadlock?

A.

Condition where each process is blocked and waiting for others to release resources

B.

Condition where each process is terminated and started again

C.

Condition where each process is ready to be executed one by one

D.

Condition where each process is blocked except the child process

Correct option is A

A deadlock occurs in a system when multiple processes are blocked, each waiting for a resource that another process holds. Since no process can proceed, the system becomes stuck in an indefinite waiting state.
Important Key Points:
1. Deadlocks commonly occur in multi-processing systems where shared resources are involved.
2. To resolve deadlocks, strategies like deadlock prevention, avoidance, or detection and recovery are used.
3. Conditions for a deadlock include mutual exclusion, hold and wait, no preemption, and circular wait.
Knowledge Booster:
1. Deadlock is one of the critical challenges in operating system design.
2. Algorithms like the Banker’s Algorithm help in deadlock avoidance.
3. Deadlocks can severely impact system performance and require careful resource management.

Free Tests

Free
Must Attempt

UP SI 2025 Full Mock Test : 01

languageIcon English
  • pdpQsnIcon160 Questions
  • pdpsheetsIcon400 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

UP Police Constable Full Mock Test 01

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon300 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

Government Policies and Scheme

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon5 Mins
languageIcon English
test-prime-package

Access ‘UPSSSC JE’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow