CS604 Mcqs FinalTerm By Vu Topper RM-1
CS604 Mcqs FinalTerm By Vu Topper RM-1
In order to remove the problem like busy waiting, some high level
synchronization constructs are defined. What are they?
Critical regions and Monitors Page 124
Critical regions and Semaphores
The condition in which a set {P0, P1… Pn} of waiting processes must
exist such that P0 is waiting for a resource that is held by P1, P1 is
waiting for a resource that is held by P2, and so on, Pn-1 is waiting for a
resource held by Pn, and Pn is waiting for a resource held by P0. This
condition is known as _____________.
A. Circular wait Page 131
B. Hold and wait
C. No preemption
D. Mutual exclusion
If the system can allocate resources to each process in some order and
still avoid a deadlock then it is said to be in ___________ state.
A. Safe Page 134
B. Mutual
C. Un-Safe
D. Starvation
Wrong use of wait and signal operations (in context with semaphores)
can cause _________ problem(s).
A. Deadlock
B. Mutual Exclusion
C. Bounded Waiting
D. All of the given options are correct
The condition in which a set {P0, P1… Pn} of waiting processes must
exist such that P0 is waiting for a resource that is held by P1, P1 is
If the system can allocate resources to each process in some order and
still avoid a deadlock then it is said to be in ___________ state.
Safe Page 134
Mutual
Un-Safe
Starvation
Wrong use of wait and signal operations (in context with semaphores)
can cause _________ problem(s).
Deadlock
Mutual Exclusion
Bounded Waiting
A page table needed for keeping track of pages of the page table is
called --------------
A. Page size
B. 2-level paging
C. Page directory Page 173
D. Page table size
In Overlay technique, we can overload any part of the program with the
part of the program required needed recently.
True
False
The main memory is usually divided into partitions, one for __________
and other for __________ .
A. Operating system, CPU
B. Processes, Virtual Memory
C. Base Register, Limit Register
D. Operating System, User processes