1. The figure below shows a tunnel going through a mountain and two streets
parallel to each other—one at each end of the tunnel. Traffic lights are located
at each end of the tunnel to control the cross flow of traffic through each inter-
section. Based on this figure, answer the following questions:
a. How can deadlock occur, and under what circumstances?
b. How can deadlock be detected?
c. Give a solution to prevent deadlock and starvation.
2. Consider the directed graph shown below and answer the following questions:
a. Is this system deadlocked?
b. Which, if any, processes are blocked?
c. What is the resulting graph after reduction?
R1 – P1
R2 – P2
R3 – P3
3. For the systems described in Questions 13 through 16 below, given that all
of the devices are of the same type, and using the definitions presented in the
discussion of the Banker’s Algorithm, answer these questions:
a. Calculate the number of available devices.
b. Determine the remaining needs for each job in each system.
c. Determine whether each system is safe or unsafe.
d. If the system is in a safe state, list the sequence of requests and releases
that will make it possible for all processes to run to completion.
e. If the system is in an unsafe state, show how it’s possible for deadlock
13. This system has 16 devices.
Job No.Devices Allocated Maximum RequiredRemaining Needs
4. Compare the processors’ access to main memory for the loosely coupled
configuration and the symmetric multiprocessing configurations. Give a
true-to-life example where the symmetric configuration might be preferred.
5. Explain the similarities and differences between the critical region and
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more