Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged deadlock-prevention-avoidance-detection
3
votes
1
answer
271
UGC NET CSE | December 2014 | Part 3 | Question: 52
An operating system has $13$ tape drives. There are three processes $P1, P2$ & $P3$. Maximum requirement of $P1$ is $11$ tape drives, $P2$ is $5$ tape drives and $P3$ is $8$ tape drives. Currently, $P1$ is allocated $6$ tape ... tape drives. Which of the following sequences represent a safe state? $P2 P1 P3$ $P2 P3 P1$ $P1 P2 P3$ $P1 P3 P2$
An operating system has $13$ tape drives. There are three processes $P1, P2$ & $P3$. Maximum requirement of $P1$ is $11$ tape drives, $P2$ is $5$ tape drives and $P3$ is ...
makhdoom ghaya
2.8k
views
makhdoom ghaya
asked
Jul 30, 2016
Operating System
ugcnetcse-dec2014-paper3
operating-system
deadlock-prevention-avoidance-detection
+
–
3
votes
2
answers
272
UGC NET CSE | December 2013 | Part 3 | Question: 71
Simplest way of deadlock recovery is Roll back Preempt resource Lock one of the processes Kill one of the processes
Simplest way of deadlock recovery isRoll backPreempt resourceLock one of the processesKill one of the processes
go_editor
4.9k
views
go_editor
asked
Jul 29, 2016
Operating System
ugcnetcse-dec2013-paper3
operating-system
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
273
Is bounded waiting and progress ensured in this code using exchange instruction?
Consider the atomic exchange instruction defined as follows: void exchange (int *a, int *b) { int temp; temp = *b; *b = *a; *a = temp; } Now consider the solution to critical section problem based on ... ..., P(n)); 20 } Does the above code meets bounded waiting and progress requirements of critical section problem?
Consider the atomic exchange instruction defined as follows:void exchange (int *a, int *b) { int temp; temp = *b; *b = *a; *a = temp; }Now consider the soluti...
GateAspirant999
584
views
GateAspirant999
asked
Jul 21, 2016
Operating System
deadlock-prevention-avoidance-detection
process-synchronization
+
–
5
votes
1
answer
274
UGC NET CSE | June 2013 | Part 3 | Question: 61
An operating system using banker’s algorithm for deadlock avoidance has ten dedicated devices (of same type) and has three processes P1, P2 and P3 with maximum resource requirements of 4, 5 and 8 respectively. There are two states of ... safe and State 2 is unsafe Both State 1 and State 2 are safe Both State 1 and State 2 are unsafe
An operating system using banker’s algorithm for deadlock avoidance has ten dedicated devices (of same type) and has three processes P1, P2 and P3 with maximum reso...
go_editor
4.9k
views
go_editor
asked
Jul 19, 2016
Operating System
ugcnetcse-june2013-paper3
operating-system
bankers-algorithm
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
275
Tricky question: How a deadlock is detected from wait for graph?
There are multiple copies of resources are available in a system. A process can request for more than one copy of a resource. Suppose a process will be blocked till at least one copy of resource is granted, what is the ... b can be the conditions and equally powerful. d) Both a and b can be failed in given conditions in problem
There are multiple copies of resources are available in a system. A process can request for more than one copy of a resource. Suppose a process will be blocked till at le...
sh!va
893
views
sh!va
asked
Jul 19, 2016
Operating System
operating-system
deadlock-prevention-avoidance-detection
+
–
2
votes
1
answer
276
UGC NET CSE | June 2012 | Part 3 | Question: 13
Which of the following is scheme to deal with deadlock? Time out Time in Both A and B None of the above
Which of the following is scheme to deal with deadlock?Time outTime inBoth A and BNone of the above
go_editor
2.2k
views
go_editor
asked
Jul 6, 2016
Operating System
ugcnetcse-june2012-paper3
operating-system
java
deadlock-prevention-avoidance-detection
+
–
0
votes
1
answer
277
To avoid race condition, the maximum number of processes that may be simultaneously inside the critical section is
durgesh94
10.8k
views
durgesh94
asked
Jun 15, 2016
Operating System
operating-system
deadlock-prevention-avoidance-detection
descriptive
+
–
7
votes
2
answers
278
ISRO2009-16
Consider a system having "n" resources of same type. These resources are shared by 3 processes, A, B, C. These have peak demands of 3, 4, and 6 respectively. For what value of "n" deadlock won't occur 15 9 10 13
Consider a system having "n" resources of same type. These resources are shared by 3 processes, A, B, C. These have peak demands of 3, 4, and 6 respectively. For what val...
Desert_Warrior
5.3k
views
Desert_Warrior
asked
Jun 3, 2016
Operating System
isro2009
operating-system
resource-allocation
deadlock-prevention-avoidance-detection
+
–
6
votes
4
answers
279
ISRO-2013-57
Which of the following is not a necessary condition for deadlock? Mutual exclusion Reentrancy Hold and wait No pre-emption
Which of the following is not a necessary condition for deadlock?Mutual exclusionReentrancyHold and waitNo pre-emption
makhdoom ghaya
3.2k
views
makhdoom ghaya
asked
May 2, 2016
Operating System
isro2013
operating-system
resource-allocation
deadlock-prevention-avoidance-detection
+
–
9
votes
2
answers
280
Does Deadlock imply no Bounded waiting Or no Progress or BOTH of These?
Does Deadlock imply no Bounded waiting Or no Progress or BOTH of These?Also provide explanation in support
Does Deadlock imply no Bounded waiting Or no Progress or BOTH of These?Also provide explanation in support
Anurag_s
6.8k
views
Anurag_s
asked
Jan 30, 2016
Operating System
deadlock-prevention-avoidance-detection
process-synchronization
+
–
1
votes
4
answers
281
Which of the following is not a necessary condition for a deadlock among processes?
Which of the following is not a necessary condition for a deadlock among processes? (a) Shared Resources (b) No Preemption (c) Acyclic condition among processes (d) None of the above
Which of the following is not a necessary condition for a deadlock among processes?(a) Shared Resources(b) No Preemption(c) Acyclic condition among processes(d) None of t...
Purple
7.8k
views
Purple
asked
Jan 29, 2016
Operating System
deadlock-prevention-avoidance-detection
operating-system
+
–
3
votes
3
answers
282
Progress guaranteed/Mutual Exclusion/Deadlock or not?
var occupied var blocked Enter Region: { If (occupied) { then blocked= blocked +1 sleep ( ); } else occupied= 1; } Exit Region: { occupied= 0 If (blocked) { then wakeup (process); blocked= blocked – 1; } } True/False (1) Mutual Exclusion is guaranteed? (2) Deadlock free Algorithm? (3) Progress is guaranteed?
var occupiedvar blockedEnter Region:{If (occupied) {then blocked= blocked +1sleep ( );}else occupied= 1;}Exit Region:{occupied= 0If (blocked) {then wakeup (process);block...
Purple
2.4k
views
Purple
asked
Jan 29, 2016
Operating System
operating-system
process-synchronization
deadlock-prevention-avoidance-detection
+
–
1
votes
3
answers
283
Deadlock
A computer has six tape drivers, with n processes competing for them. Each process may need two drivers. What is the maximum value of n for the system to be deadlock free? a] 6 b] 5 c] 4 d] 3
A computer has six tape drivers, with n processes competing for them. Each process may need two drivers. What is the maximum value of n for the system to be deadlock free...
Cruise Device
774
views
Cruise Device
asked
Jan 16, 2016
Operating System
deadlock-prevention-avoidance-detection
operating-system
gate1997
+
–
2
votes
2
answers
284
Ace Test Series: Operating System - Process Synchronization
Tushar Shinde
1.1k
views
Tushar Shinde
asked
Jan 13, 2016
Operating System
ace-test-series
operating-system
process-synchronization
deadlock-prevention-avoidance-detection
+
–
2
votes
1
answer
285
How many safe sequences possible for the given processes?
Utk
2.1k
views
Utk
asked
Jan 1, 2016
Operating System
operating-system
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
286
deadlock
if system is in unsafe state then deadlock may or may not occur but in bankers algorithm if system found in unsafe state how to check further for deadlock. explain with example
if system is in unsafe state then deadlock may or may not occurbut in bankers algorithm if system found in unsafe state how to check further for deadlock. explain with e...
Sourabh Kumar
476
views
Sourabh Kumar
asked
Dec 3, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
287
deadlock
what is meant by satisfy deadlock? free from deadlock OR not free from deadlock
what is meant by satisfy deadlock?free from deadlockORnot free from deadlock
Sourabh Kumar
246
views
Sourabh Kumar
asked
Dec 3, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
3
votes
2
answers
288
deadlock
It the Resource-Allocation Graph contains $'m'$ types of resource and $'n'$ processes, then the time complexity of the algorithm for deciding whether the system is safe or unsafe is $O(n^2 \times m)$ $O(n \times m)$ $O(n^2 \times m^2)$ $O(n \times m^2)$
It the Resource-Allocation Graph contains $'m'$ types of resource and $'n'$ processes, then the time complexity of the algorithm for deciding whether the system is safe o...
asu
6.8k
views
asu
asked
Nov 15, 2015
Operating System
operating-system
deadlock-prevention-avoidance-detection
bankers-algorithm
+
–
4
votes
1
answer
289
Doubt in Livelock
Consider the following situations for three process P1, P2 and P3. [Assume R1, R2 and R3 are resources] S1: P1 is holding R1 but it is tied up in a busy wait loop repeatedly trying to access R2, which it never gets because ... involved in the livelock constantly change with regard to one another, none progressing" is Processes switching between ready & Running state.
Consider the following situations for three process P1, P2 and P3. [Assume R1, R2 and R3 are resources]S1: P1 is holding R1 but it is tied up in a busy wait loop repeated...
Akash Kanase
846
views
Akash Kanase
asked
Nov 14, 2015
Operating System
operating-system
deadlock-prevention-avoidance-detection
process-synchronization
+
–
1
votes
1
answer
290
Not a necessary condition of deadlock.
Which of the following is not a necessary condition(s) for a deadlock? 1.Mutual Exclusion 2.Hold and wait 3.No pre-emption 4.Re-entrancy
Which of the following is not a necessary condition(s) for a deadlock?1.Mutual Exclusion2.Hold and wait3.No pre-emption4.Re-entrancy
Umang Raman
2.1k
views
Umang Raman
asked
Oct 19, 2015
Operating System
operating-system
deadlock-prevention-avoidance-detection
+
–
1
votes
2
answers
291
If the available no of resources are unable to meet the future need of any of the processes then what is the state ?
Just wanted to know that if none of the needs of a process is met so can we directly say that it is unsafe state as well as will lead to deadlock since none of the needs ...
radha gogia
540
views
radha gogia
asked
Oct 14, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
292
what is the difference in disabling No Preemption and Hold and wait condition of deadlock ?
In order to prevent deadlock we try to disable any one of the necessary conditions of deadlock .Now my point of confusion is that while we have to disable Hold and wait we say that either a process ... trying to release the resources from the process if it is trying to ask for some additional resources ?
In order to prevent deadlock we try to disable any one of the necessary conditions of deadlock .Now my point of confusion is that while we have to disable Hold and wait w...
radha gogia
1.2k
views
radha gogia
asked
Oct 13, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
2
votes
3
answers
293
what is the logic in calculating the minimum no of resources to remove deadlock ?If
If I have 10 processes and each process wants 3 resources so now usually we first calculate the maximum no of resources so that there is deadlock by assigning one resource less than the maximum need of the resource and then ... then add 1 to it =12 ,this would remove deadlock , what is the mistake in this logic ?
If I have 10 processes and each process wants 3 resources so now usually we first calculate the maximum no of resources so that there is deadlock by assigning one resourc...
radha gogia
6.5k
views
radha gogia
asked
Oct 11, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
1
votes
1
answer
294
DEADLOCK
in which system deadlock exists ?
in which system deadlock exists ?
priti sharma
730
views
priti sharma
asked
Oct 10, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
8
votes
4
answers
295
ISRO2009-77
When a process is rolled back as a result of deadlock the difficulty which arises is Starvation System throughput Low device utilization Cycle stealing
When a process is rolled back as a result of deadlock the difficulty which arises isStarvationSystem throughputLow device utilizationCycle stealing
ajit
7.2k
views
ajit
asked
Oct 5, 2015
Operating System
isro2009
deadlock-prevention-avoidance-detection
+
–
10
votes
3
answers
296
ISRO2008-62
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
In which of the following four necessary conditions for deadlock processes claim exclusive control of the resources they require?no preemptionmutual exclusioncircular wai...
ajit
6.8k
views
ajit
asked
Sep 20, 2015
Operating System
isro2008
operating-system
resource-allocation
deadlock-prevention-avoidance-detection
+
–
2
votes
4
answers
297
which of the following is not a necessary condition for deadlock?
which of the following is not a necessary condition for deadlock? a)Mutual exclusion b)Reentrancy c)Hold and Wait d)No pre-emption
which of the following is not a necessary condition for deadlock?a)Mutual exclusionb)Reentrancyc)Hold and Waitd)No pre-emption
ajit
39.5k
views
ajit
asked
Sep 17, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
0
votes
4
answers
298
Predict the state of this system?
Consider the following process and resource requirement of each process. Process Type 1 Type 2 Used Max Used Max P1 1 2 1 3 P2 1 3 1 2 P3 2 4 1 4 Predict the ... of resource type 1 and 4 instances of resource type 2. a)Can go to safe or unsafe state based on sequence b)Safe state c)Unsafe state d)Deadlock state
Consider the following process and resource requirement of each process. Process Type 1 Type 2UsedMaxUsedMax P11213�...
ajit
1.3k
views
ajit
asked
Sep 17, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
1
votes
2
answers
299
Results in deadlock or not?
Shefali
774
views
Shefali
asked
Jul 27, 2015
Operating System
deadlock-prevention-avoidance-detection
process-synchronization
+
–
5
votes
4
answers
300
'm' processes share 'n' resources of same type. The maximum need of each process does not exceed 'n' and the sum all their maximum needs is always less than m+n. In this setup deadlock can occur or not?
This is a question from Operating System concepts by Silberschatz, Gagne and Galvin. On very first go I could make that in such a situation deadlock can never occur. But ...
Prateek Dwivedi
31.9k
views
Prateek Dwivedi
asked
Jun 27, 2015
Operating System
deadlock-prevention-avoidance-detection
+
–
Page:
« prev
1
...
5
6
7
8
9
10
11
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register