Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Topic is Operating Systems. Some questions could have multiple correct answers. Choose all correct answers. a point for each correct answer selected. a half-point off

Topic is Operating Systems.
Some questions could have multiple correct answers.
Choose all correct answers.
a point for each correct answer selected.
a half-point off for each incorrect answer selected.
image text in transcribed
he he QUESTION 6 In deadlock detection strategies, OA. processes are restricted access to resources. OB. process behavior is unrestricted. oc. the kernel periodically checks for deadlock. OD. if deadlock exists, the kernel may successively abort processes. Hint: a detection strategy does not restrict access since the goal is not to prevent deadlock; an integrated approach means applying a different strategy as the situation demands is generally the best approach. QUESTION 7 The Dining Philosophers Problem demonstrates the condition of CA. hold & wait. CB. no preemption. OC. mutual exclusion. OD. circular wait. Hint: circular wait is occurs when each process is waiting for a resource held by its neighbor a directed graph with a cycle); mutual exclusion, holdawait, and no premption are always present when you have deadlock. QUESTIONS A kernel that uses an integrated deadlock strategy will CA. use the same algorithm for all resources. OB. group resources into a number of different resource classes. oc. probably use a linear ordering strategy to prevent circular wait. OD. use the most appropriate algorithm for a particular resource. Hint: integrated approach attempts to use the strengths of the various strategies for dealing with deadlock. QUESTIONS Which of the following are consumable resources? OA. a UNIX pipe OB. a semaphore OC. memory OD. a Sysv message queue Hint: a consumable resource disappears after use - semaphores operations are lost if not accessed at the right time. QUESTION 10 A deadlock prevention strategy CA. is a conservative rather than a liberal approach. OB. will involve limiting access to resources. cc. will involve imposing restrictions on processes. OD. often involves aborting a process to recover from deadlock. Hint: preventing something from occurring is more restrictive than fixing it after it has occurred; if the strategy works you will never need to abort a process since deadlock will never occur. thek

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions

Question

Describe the sources of long term financing.

Answered: 1 week ago