
DEADLOCK
Quiz
•
Computers
•
University
•
Hard

KRATI GUPTA
Used 58+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks never arise is
6
7
8
9
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur is
11
12
13
14
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a necessary condition for deadlock?
Mutual Exclusion
Reentrancy
Hold and wait
No pre-emption
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In which of the following four necessary conditions for deadlock processes claim exclusive control of the resources they require?
no preemption
mutual exclusion
circular wait
hold and wait
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A total of 9 units of a resource type available, and given the safe state shown below, which of the following sequence will be a safe state?
Process Used Max
A 2 7
B 1 6
C 2 5
D 1 4
(P4, P1, P3, P2)
(P4, P2, P1, P3)
(P4, P2, P3, P1)
(P3, P1, P2, P4)
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider a system with 3 processes that share 4 instances of the same resource type. Each process can request a maximum of K instances. Resource instances can be requested and released only one at a time. The largest value of K that will always avoid deadlock is _______ .
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid deadlock prevention scheme?
Release all resources before requesting a new resource
Number the resources uniquely and never request a lower numbered resource than the last one requested
Never request a resource after releasing any resource
Request and all required resources be allocated before execution.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
15 questions
Robots and Autonomous Technologies (3.7A & 3.7B)
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
15 questions
Networks
Quiz
•
University
12 questions
6. الشبكة وتوصيلاتها
Quiz
•
University
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University