Unit 3 Os
Unit 3 Os
A . mutual exclusion
B . a process may hold allocated resources while awaiting assignment of other resources
Answer
A . the system can allocate resources to each process in some order and still avoid a deadlock
C . both A and B
Answer
B . using thread
C . using pipes
Answer
A . banker’s algorithm
B . round-robin algorithm
C . elevator algorithm
D . karn’s algorithm
Answer
A . in advance processes rarely know that how much resource they will need
Answer
A . Mutual exclusion
C . No preemption
Answer
Answer
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 these
Answer
A . must exist
C . may exist
D . None of these
Answer
C . operating system
D . resources
Answer
B . the system can allocate resources to each process in some order and still avoid a deadlock
D . All of these
Answer
C . either A or B
D . None of these
Answer
A . Allocation – Available
B . Max – Available
C . Max – Allocation
D . Allocation – Max
Answer
B . frequently
C . None of these
D . both A and B
Answer
Answer
16. If we preempt a resource from a process, the process cannot continue with
its normal execution and it must be :
A . aborted
B . rolled back
C . terminated
D . queued
Answer
17. If the resources are always preempted from the same process, __________
can occur.
A . deadlock
B . system crash
C . aging
D . starvation
Answer
B . is essential to binary
computers
Answer
A . mutex locks
B . binary semaphores
C . both A and B
Answer
20. When two or more processes attempt to access the same resource a _________
occurs.
A . Critical section
B . Fight
C . Communication problem
D . Race condition
Answer
A . half duplex
B . full duplex
D . unordered data
Answer
Answer
A . pipe
B . unnamed pipe
C . named pipe
D . msg queue
Answer
24. Which is Fastest IPC?
A . Message Queue
B . shared memory
C . Socket
Answer