Operating system mcqs deadlock prevention

 

 DOWNLOAD ALL  PDF E-BOOK's    >>>CLICK HERE<<<

Operating system mcqs deadlock prevention

Click on any option to know the CORRECT ANSWERS



Question 1
The number of resources requested by a process .....
A
must always be less than the total number of resources available in the system
B
must always be equal to the total number of resources available in the system
C
must not exceed the total number of resources available in the system
D
must exceed the total number of resources available in the system
Library science Study questions

Question 2
For Mutual exclusion to prevail in the system .....
A
at least one resource must be held in a non sharable mode
B
the processor must be a uniprocessor rather than a multiprocessor
C
there must be at least one resource in a sharable mode
D
all of the mentioned


Question 2 Explanation: 
If another process requests that resource (non - shareable resource), the requesting process must be delayed until the resource has been released.
Question 3
To ensure no preemption, if a process is holding some resources and requests another resource that cannot be immediately allocated to it .....
A
then the process waits for the resources be allocated to it
B
the process keeps sending requests until the resource is allocated to it
C
the process resumes execution without the resource being allocated to it
D
then all resources currently being held are preempted
ICT Study questions

Question 4
One way to ensure that the circular wait condition never holds is to .....
A
impose a total ordering of all resource types and to determine whether one precedes another in the ordering
B
to never let a process acquire resources that are held by other processes
C
to let a process wait for only one resource at a time
D
all of the mentioned
EVS Study questions



Question 5
To ensure that the hold and wait condition never occurs in the system, it must be ensured that .....
A
whenever a resource is requested by a process, it is not holding any other resources
B
each process must request and be allocated all its resources before it begins its execution
C
a process can request resources only when it has none
D
all of the mentioned
Reasoning Study questions

Question 5 Explanation: 
c - A process may request some resources and use them. Before it can can request any additional resources, however it must release all the resources that it is currently allocated.
There are 5 questions to complete.

 

 DOWNLOAD ALL  PDF E-BOOK's    >>>CLICK HERE<<<