OSG202 Haianh 4 Questions And Answers With Latest Solutions
0 view 0 purchase
Course
OSG202
Institution
OSG202
OSG202 Haianh 4 Questions And Answers With Latest Solutions
Which method is used to prevent the communication deadlock? *
1/1
Timeouts
Acknowledge signal
Handling alarm
All of the other choices ANS d
For matrix-based algorithm to detect deadlock, number of instances of resource currently ...
OSG202 Haianh 4 Questions And Answers With
Latest Solutions
Which method is used to prevent the communication deadlock? *
1/1
Timeouts
Acknowledge signal
Handling alarm
All of the other choices ANS d
For matrix-based algorithm to detect deadlock, number of instances of resource currently unassigned
is given by: *
1/1
Available resource vector
Request matrix
Current allocation matrix
Existing resource vector ANS a
In a directed graph used to model deadlock, ____ represents deadlock. *
1/1
Cycle
Dashed arrow
Solid arrow
Any path ANS a
What is the correct approach with the No preemption condition to prevent Deadlock? *
1/1
Order resources numerically
Spool everything
,Request all resources initially
Take resources away ANS d
A possibility of deadlock can occur: *
1/1
If a system is in safe state
If a system is in unsafe state
If a system is in instable state
None of the other choices ANS b
____ is when, in modern printing systems, a disk accepts output from several users and acts as a
temporary storage area for all output until the printer is ready to accept it *
1/1
Spooling
Buffering
Lagging
Spoofing ANS a
The first and simplest recovery method, and the most drastic, is to ____. *
1/1
Select a nondeadlocked job, preempt the resources it's holding, and allocate them to a Deadlocked
process so it can resume execution, thus breaking the deadlock
Terminate every job that's active in the system and restart them from the beginning
Identify which jobs are involved in the deadlock and terminate them one at a time, checking to see if
the deadlock is eliminated after each removal
Terminate only the jobs involved in the deadlock and ask their users to resubmit them ANS b
Which of the following statements does not apply to manual deadlock management? *
1/1
Recovery may involves rebooting the system
, Deadlock is relatively infrequent for some system resources
OS designers are normally very sensitive to deadlock when designing resource managers
None of the other choices ANS c
One of way to prevent a deadlock is ________ *
1/1
Locks one of the processes
Spool everything
Kills one of the processes
Rollback ANS b
____ occurs when two processes do not release control of resources they are using. *
1/1
Hold and wait condition
Circular-wait condition
Mutual-exclusion condition
No preemption condition ANS a
A simplest way to break a deadlock is to *
1/1
Locks one of the processes
Kills one of the processes
Rollback
Preempt a resource ANS b
____ is the act of allowing only one process to have access to a dedicated resource. *
1/1
No preemption condition
Mutual-exclusion condition
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Labtech. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.99. You're not tied to anything after your purchase.