InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
A system is in the safe state if ____________(a) the system can allocate resources to each process in some order and still avoid a deadlock(b) there exist a safe sequence(c) all of the mentioned(d) none of the mentionedThis question was posed to me in an interview for internship.I want to ask this question from Deadlock in section Deadlocks of Operating System |
|
Answer» Correct answer is (a) the SYSTEM can ALLOCATE resources to each process in some order and still avoid a deadlock |
|
| 52. |
Which of the following condition is required for a deadlock to be possible?(a) mutual exclusion(b) a process may hold allocated resources while awaiting assignment of other resources(c) no resource can be forcibly removed from a process holding it(d) all of the mentionedI have been asked this question in an online quiz.My enquiry is from Deadlock topic in division Deadlocks of Operating System |
|
Answer» CORRECT option is (d) all of the mentioned To EXPLAIN I WOULD say: None. |
|
| 53. |
What is a reusable resource?(a) that can be used by one process at a time and is not depleted by that use(b) that can be used by more than one process at a time(c) that can be shared between various threads(d) none of the mentionedI had been asked this question in my homework.The above asked question is from Deadlock topic in portion Deadlocks of Operating System |
|
Answer» Right option is (a) that can be used by ONE PROCESS at a TIME and is not DEPLETED by that use |
|