1. A deadlocked state occurs whenever: A) a process is waiting for I/O to a device that does not exist B) the system has no available free resources C) every process in a set is waiting for an event that can only be caused by another process in the set D) a process is unable to release its request for a resource after use 2. One necessary condition for deadlock is held in a non-sharable mode. which states that at least one resource must be A) hold and wait B) mutual exclusion C) circular wait D) no preemption 3. One necessary condition for deadlock is one resource and waiting to acquire additional resources. A) hold and wait B) mutual exclusion C) circular wait D) no preemption which states that a process must be holding
1. A deadlocked state occurs whenever: A) a process is waiting for I/O to a device that does not exist B) the system has no available free resources C) every process in a set is waiting for an event that can only be caused by another process in the set D) a process is unable to release its request for a resource after use 2. One necessary condition for deadlock is held in a non-sharable mode. which states that at least one resource must be A) hold and wait B) mutual exclusion C) circular wait D) no preemption 3. One necessary condition for deadlock is one resource and waiting to acquire additional resources. A) hold and wait B) mutual exclusion C) circular wait D) no preemption which states that a process must be holding
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:8. A cycle in a resource-allocation graph is:
A) a necessary and sufficient condition for deadlock in the case that each resource has more than
one instance
B) a necessary and sufficient condition for a deadlock in the case that each resource has exactly
one instance
C) a sufficient condition for a deadlock in the case that each resource has more than once
instance
D) is neither necessary nor sufficient for indicating deadlock in the case that each resource has
exactly one instance
9. To handle deadlocks, operating systems most often:
A) pretend that deadlocks never occur
B) use protocols to prevent or avoid deadlocks
C) detect and recover from deadlocks
D) None of the above

Transcribed Image Text:Questions on deadlock:
1. A deadlocked state occurs whenever:
A) a process is waiting for I/O to a device that does not exist
B) the system has no available free resources
C) every process in a set is waiting for an event that can only be caused by another process in
the set
D) a process is unable to release its request for a resource after use
2. One necessary condition for deadlock is
held in a non-sharable mode.
, which states that at least one resource must be
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption
3. One necessary condition for deadlock is
one resource and waiting to acquire additional resources.
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption
which states that a process must be holding
which states that a resource can be released
4. One necessary condition for deadlock is
only voluntarily by the process holding the resource.
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption
5. One necessary condition for deadlock is
processes whereby Po is waiting for a resource held by Pı, Pı is waiting for a resource held by P2.
and Pn is waiting for a resource held by Po.
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption
which states that there is a chain of waiting
6. Explain what has to happen for a set of processes to achieve a deadlocked state.
7. In a system resource-allocation graph:
A) a directed edge from a process to a resource is called an assignment edge
B) a directed edge from a resource to a process is called a request edge
C) a directed edge from a process to a resource is called a request edge
D) None of the above
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY