Recent questions tagged resource-allocation

2 2 votes
4 4 answers
870
870 views
A system has $5$ processes and $k$ instances of a resource $R$. Assume each process requires a maximum of $2$ instances of $R$. A process can request or release only one...
0 0 votes
0 0 answers
105
105 views
Consider a system with $3$ processes $P0$ to $P2$ and $3$ resource types $A, B,$ and $C$. Resource type $A$ has $10$ instances, resource type $B$ has $5$ instances and re...
0 0 votes
2 2 answers
421
421 views
Read the below passage and answer the questions.The Banker's Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource alloc...
0 0 votes
1 1 answer
259
259 views
Read the below passage and answer the questions.The Banker's Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource alloc...
0 0 votes
1 1 answer
548
548 views
Read the below passage and answer the questions.The Banker's Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource alloc...
0 0 votes
0 0 answers
803
803 views
What is the total safe sequence possible?
0 0 votes
1 1 answer
567
567 views
Match $\text{List I}$ with $\text{List II}$$\text{List I}$$\text{List II}$$\text{A}$. IPC$\text{I}$. Resource Allocation$\text{B}$. Demand Paging$\text{II}$. Computationa...
0 0 votes
2 answers 2 answers
1.6k
1.6k views
I’m getting 2 as the answer, but the correct one given by them is 5.Somebody please confirm.Consider the following snapshot of a system's states, with three processes and...
1 1 vote
2 2 answers
1.7k
1.7k views
consider a system having 22 resources of the same type. These resources are shared by 4 processes P, Q, R, and S having peak demands of 3,6, a, and b respectively. How ma...
3 3 votes
1 answers 1 answer
5.9k
5.9k views
MSQ Which of the following statements is/are TRUE?If safe state exists, deadlock can be avoided if resources are allocated properlyIf safe state exists, deadlock is never...
4 4 votes
2 2 answers
2.0k
2.0k views
MSQ A system shares 9 tape drives. The current allocation and maximum requirement of tape drives for that processes are shown below: Which of the following best describe...
1 1 vote
0 0 answers
1.2k
1.2k views
Definition of a set of deadlocked Processes:“A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can ...
41 41 votes
4 answers 4 answers
32.3k
32.3k views
Which of the following statements is/are $\text{TRUE}$ with respect to deadlocks?Circular wait is a necessary condition for the formation of deadlock.In a system where ea...
2 2 votes
2 2 answers
1.6k
1.6k views
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 ...
5 5 votes
1 1 answer
3.8k
3.8k views
Consider a system with $m$ resources of same type being shared by $n$ processes. Resources can be requested and released by processes only one at a time. The system is de...
0 0 votes
1 1 answer
1.3k
1.3k views
Consider the following snapshot of a system running $n$ processes. Process $i$ is holding $X_i$ instances of a resource $R$, $ 1\leq i\leq n$. Currently, all instances o...