Operating System
1. For each of these conditions – deadlock, race and starvation give at least two “real life” examples (not related to a computer system environment) of each of these concepts. Then give your own opinion on how each of these six conditions can be resolved.
2. If a deadlock occurs at a combination of downtown intersections, as shown in the figure below, explain in detail how you would identify that a deadlock has occurred, how you would resolve it after it happens, and how you would act to prevent it from happening again.
3. Regarding the role played by the “victim” in deadlock resolution, explain your answers to these questions.
a. How is the victim chosen?
b. What is the fate of the victim?
c. Describe the actions required, if any, to complete the victim’s tasks.
4. Given the four primary types of resources-CPU, main memory, storage devices, and files-select for each one the most suitable technique (prevention, avoidance, detection and recovery) describes in this chapter to fight deadlock, and explain why that is your choice.
11 years ago
5
Purchase the answer to view it

- operating_system.docx
Purchase the answer to view it

- operating_system_final.doc