hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    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

    UPCISB General Recruitment Full Mock Test 01

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    English Language Subject Test 01

    languageIcon English
    • pdpQsnIcon20 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon10 Mins
    languageIcon English
    Free
    Must Attempt

    Vocabulary

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon10 Marks
    • timerIcon8 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
    446k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow