ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Operating Systems AllOther
 
 


 

 
 Windows interview questions  Windows Interview Questions
 Linux interview questions  Linux Interview Questions
 Unix interview questions  Unix Interview Questions
 Solaris interview questions  Solaris Interview Questions
 RTOS interview questions  RTOS Interview Questions
 Bulnex interview questions  Bulnex Interview Questions
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions
 Data Structures interview questions  Data Structures Interview Questions
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions
Question
What is deadlock? How do you avoid it?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is deadlock? How do you avoid it?
Answer
# 1
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 cause (including itself). 
To avoid these r the stratagies to be followed

 
Attacking Mutex condition 
Attacking preemption 
Attacking hold and wait condition 
Attacking circular wait
 
Is This Answer Correct ?    3 Yes 2 No
Swetcha
[Semanticspace]
 
  Re: What is deadlock? How do you avoid it?
Answer
# 2
Deadlock is permanent blocking of the set processes that 
either compete for system resources or communicate each 
other.
we can avoid deadlock by avoiding the following conditions:
1.Mutual Exclusion
2.Hold and wait.
3.No preemption.
4.circular wait.
 
Is This Answer Correct ?    5 Yes 0 No
Kalyani
 
 
 

 
 
 
Other Operating Systems AllOther Interview Questions
 
  Question Asked @ Answers
 
Method used for Disk searching.. a.linked list b.AVL c.B-tree d. binary tree Hughes3
One Gigabyte =?( 2 power30 , 2 power 20 ,2 power 10 none) Mascot2
DMA - abbrevation (Direct Memory Access,Discrete memory Access,Disk memoryaccess) Mascot3
What is deadlock? How do you avoid it? Motorola2
Which of following is used for back-up files? (a) compress (b) Tar (c) make (d) all the above Cadence1
How does the scheduler know the time how it should be scheduled. Motorola1
Can I install the Operating System in USB Poratable Drive in 250 or 120GB? IBM1
MY system is showing "BOOT FAILURE:SYSTEM HALTED" after restarting the system please give me the solution for this problem thanking you........... ITC-Infotech1
What operating systems provide threads?  4
What is TSY? Samsung3
what are Prerequisites to Install Active Directory in windows 2000 server? ISL2
which one of following is not memory management model? choices are buddy system, monitors, paging, swapping Hughes4
In the process table entry for the kernel process, the process id value is a) 0 b) 1 c) 2 d) 255 e) it does not have a process table entry IBM1
Virtual memory size depends on [a] address lines [b] data bus [c] disc space [d] a & c [e] none Wipro6
What is a semaphore? Motorola4
One solution for deadlock prevention for dining philosopher's problem Hughes2
 
For more Operating Systems AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com