Question
Process
P0
P1
P2
Maximum needs (process-wise : P0 through P2 top to bottom)
10
4
9
Currently allocated (process-wise)
5
2
2
Which of the following sequence is a safe sequence ?
a.
P0, P1, P2
b.
P1, P2, P0
c.
P2, P0, P1
d.
P1, P0, P2
Posted under Operating System
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives. Process P0...
Similar Questions
Discover Related MCQs
Q. What problem is solved by Dijkstra's banker's algorithm?
View solution
Q. Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
View solution
Q. Banker's algorithm for resource allocation deals with
View solution
Q. All deadlocks involve conflicting needs for
View solution
Q. The fastest form of inter process communication provided in UNIX is
View solution
Q. Deadlock prevention strategies are very
View solution
Q. A consumable resource is one that can be
View solution
Q. A signal is a software mechanism that informs a
View solution
Q. No preemption means that a resource is released as
View solution
Q. Deadlock avoidance requires knowledge of future
View solution
Q. The circular wait condition can be prevented by defining a linear ordering of
View solution
Q. An unsafe state is of course a state that is not
View solution
Q. Linux includes all of the concurrency mechanism found in other
View solution
Q. The dining philosophers problem can be seen as representative of
View solution
Q. A direct method of deadlock prevention is to prevent the occurrence of a circular
View solution
Q. To solve the dining philosophers, the monitor consist of two
View solution
Q. The conditions for deadlock, only one process may use a resource at a
View solution
Q. A useful tool in characterizing and allocating of resources to process is the
View solution
Q. UNIX provides a variety of mechanisms for inter processor
View solution
Q. Deadlock involves reusable
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!