Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
93 views
in Computer by (110k points)
closed by
What is a deadlock?
1. A condition where each process is blocked and Waiting for others to release resources
2. Condition where each process is terminated and started again
3. Condition where each process is ready to be executed one by one
4. Condition where each process is blocked except the child process

1 Answer

0 votes
by (105k points)
selected by
 
Best answer
Correct Answer - Option 1 : A condition where each process is blocked and Waiting for others to release resources

The correct answer is option 1.

A deadlock occurs when a process or thread enters a waiting state because a requested system resource is held by another waiting process, which in turn is waiting for another resource held by another waiting process.

A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function. This led to the problem of the deadlock.

The condition where each process is blocked and Waiting for others to release resources.

Hence the correct answer is a condition where each process is blocked and Waiting for others to release resources.

 These 4 conditions must hold simultaneously for the occurrence of deadlock. 

Conditions for Deadlock

  • Mutual Exclusion,
  • Hold and Wait,
  • No preemption,
  • Circular wait.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...