Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

ECE 329: Chapter 8 Questions - Deadlock Concepts - Prof. Stanley T. Birchfield, Assignments of Electrical and Electronics Engineering

Various questions related to the concept of deadlock in computer systems, covering necessary conditions, prevention methods, and examples. Students are expected to understand the concepts of deadlock and its prevention in a computer science context.

Typology: Assignments

Pre 2010

Uploaded on 07/28/2009

koofers-user-q9c-1
koofers-user-q9c-1 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 329 Chapter 8 Questions
1. (3 pts.) What are the four necessary conditions for deadlock to occur?
____________________________________ ___________________________________
____________________________________ ___________________________________
1. (3 pts.) On each of the following two graphs, give an example execution path that does and
does not result in deadlock. If deadlock is never possible for the graph, state so. If deadlock is
always inevitable for the graph, state so.
pf3

Partial preview of the text

Download ECE 329: Chapter 8 Questions - Deadlock Concepts - Prof. Stanley T. Birchfield and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

1. (3 pts.) What are the four necessary conditions for deadlock to occur?



1. (3 pts.) On each of the following two graphs, give an example execution path that does and does not result in deadlock. If deadlock is never possible for the graph, state so. If deadlock is always inevitable for the graph, state so.

1. (3 pts.) Name four different things that can be done to prevent deadlocks? 1. (3 pts.) Name an algorithm described in class for avoiding deadlocks? 1. (3 pts.) Give an example of a situation (not related to computers) where a deadlock has occurred. Give enough detail to exhibit that the situation is in deadlock. 1. (3 pts.) Explain why it is or is not possible to have a deadlock involving a single process. 1. (3 pts.) Name four different things that can be done to prevent the deadlock shown below from occurring.