Explore topic-wise MCQs in Operating System.

This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System knowledge and support exam preparation. Choose a topic below to get started.

1.

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
Answer» E.
2.

The disadvantage of a process being allocated all its resources before beginning its execution is ____________

A. Low CPU utilization
B. Low resource utilization
C. Very high resource utilization
D. None of the mentioned
Answer» C. Very high resource utilization
3.

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
Answer» E.
4.

For sharable resources, mutual exclusion ____________

A. is required
B. is not required
C. may be or may not be required
D. none of the mentioned
Answer» C. may be or may not be required
5.

For non sharable resources like a printer, mutual exclusion ____________

A. must exist
B. must not exist
C. may exist
D. none of the mentioned
Answer» B. must not exist
6.

Deadlock prevention is a set of methods ____________

A. to ensure that at least one of the necessary conditions cannot hold
B. to ensure that all of the necessary conditions do not hold
C. to decide if the requested resources for a process have to be given or not
D. to recover from a deadlock
Answer» B. to ensure that all of the necessary conditions do not hold
7.

For a Hold and wait condition to prevail ____________

A. A process must be not be holding a resource, but waiting for one to be freed, and then request to acquire it
B. A process must be holding at least one resource and waiting to acquire additional resources that are being held by other processes
C. A process must hold at least one resource and not be waiting to acquire additional resources
D. None of the mentioned
Answer» C. A process must hold at least one resource and not be waiting to acquire additional resources
8.

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
Answer» B. the processor must be a uniprocessor rather than a multiprocessor
9.

What are Multithreaded programs?

A. lesser prone to deadlocks
B. more prone to deadlocks
C. not at all prone to deadlocks
D. none of the mentioned
Answer» C. not at all prone to deadlocks
10.

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
Answer» D. must exceed the total number of resources available in the system