A deadlock eventually cripples system throughput and will cause the CPU utilization to

A deadlock eventually cripples system throughput and will cause the CPU utilization to

A deadlock eventually cripples system throughput and will cause the CPU utilization to
A deadlock eventually cripples system throughput and will cause the CPU utilization to

Get the answer to your homework problem.

Try Numerade free for 30 days

A deadlock eventually cripples system throughput and will cause the CPU utilization to

Michael G.

AP CS

3 months ago

We don’t have your requested question, but here is a suggested video that might help.

A. NO CHANGE B. halt. And C. halt D. halt;

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Deadlock Detection”.

1. The wait-for graph is a deadlock detection algorithm that is applicable when ____________ a) all resources have a single instance b) all resources have multiple instances c) all resources have a single 7 multiple instances d) all of the mentioned

View Answer

Answer: a
Explanation: None.

2. An edge from process Pi to Pj in a wait for graph indicates that ____________ a) Pi is waiting for Pj to release a resource that Pi needs b) Pj is waiting for Pi to release a resource that Pj needs c) Pi is waiting for Pj to leave the system d) Pj is waiting for Pi to leave the system

View Answer

Answer: a
Explanation: None.

3. If the wait for graph contains a cycle ____________ a) then a deadlock does not exist b) then a deadlock exists c) then the system is in a safe state d) either deadlock exists or system is in a safe state

View Answer

Answer: b
Explanation: None.

Note: Join free Sanfoundry classes at Telegram or Youtube

4. If deadlocks occur frequently, the detection algorithm must be invoked ________ a) rarely b) frequently c) rarely & frequently d) none of the mentioned

View Answer

Answer: b
Explanation: None.

5. What is the disadvantage of invoking the detection algorithm for every request? a) overhead of the detection algorithm due to consumption of memory b) excessive time consumed in the request to be allocated memory c) considerable overhead in computation time d) all of the mentioned

View Answer

Answer: c
Explanation: None.

6. A deadlock eventually cripples system throughput and will cause the CPU utilization to ______ a) increase b) drop c) stay still d) none of the mentioned

View Answer

Answer: b
Explanation: None.

7. Every time a request for allocation cannot be granted immediately, the detection algorithm is invoked. This will help identify ____________ a) the set of processes that have been deadlocked b) the set of processes in the deadlock queue c) the specific process that caused the deadlock d) all of the mentioned

View Answer

Answer: a
Explanation: None.

8. A computer system has 6 tape drives, with ‘n’ processes competing for them. Each process may need 3 tape drives. The maximum value of ‘n’ for which the system is guaranteed to be deadlock free is? a) 2 b) 3 c) 4 d) 1

View Answer

Answer: a
Explanation: None.

9. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock ____________ a) can never occur b) may occur c) has to occur d) none of the mentioned

View Answer

Answer: a
Explanation: None.

10. ‘m’ processes share ‘n’ resources of the same type. The maximum need of each process doesn’t exceed ‘n’ and the sum of all their maximum needs is always less than m+n. In this setup, deadlock ____________ a) can never occur b) may occur c) has to occur d) none of the mentioned

View Answer

Answer: a
Explanation: None.

Sanfoundry Global Education & Learning Series – Operating System.

  • Get Free Certificate of Merit in Operating System
  • Participate in Operating System Certification Contest
  • Become a Top Ranker in Operating System
  • Take Operating System Tests
  • Chapterwise Practice Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
  • Chapterwise Mock Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

A deadlock eventually cripples system throughput and will cause the CPU utilization to

Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & technical discussions at Telegram SanfoundryClasses.

Categories: DegreeQAnswer

Share

Question:Directors may not be disqualified for Option A.continuing to trade when the company is insolventOption…

Question:Which of the following is not one the underlying principles of the corporate governance Combined…

Question:The view that business exists at society's pleasure and businesses should meet public expectations of…

Question:An organisation's obligation to act to protect and improve society's welfare as well asits own…

Question:The hand-of-government refers to the Option A.ability of the government to interfere in business negotiationsOption…

Question:Successful global initiatives addressing standards for business must begin and end with: Option A.the role…

4.

A semaphore is a shared integer variable __________

A.  that can not drop below zero B.  that can not be more than zero C.  that can not drop below one D.  that can not be more than one