Operating System MCQs

1019 MCQs  (Page 50 of 102)

What are the operations that can be invoked on a condition variable?
A. Wait & signal
B. Hold & wait
C. Signal & hold
D. Continue & signal
Which is the process of invoking the wait operation?
A. Suspended until another process invokes the signal operation
B. Waiting for another process to complete before it can itself call the signal operation
C. Stopped until the next process in the queue finishes execution
D. None of the mentioned
If no process is suspended, the signal operation ____________
A. Puts the system into a deadlock state
B. Suspends some default process execution
C. Nothing happens
D. The output is unpredictable
Write ahead logging is a way ____________
A. To ensure atomicity
B. To keep data consistent
C. That records data on stable storage
D. All of the mentioned
An actual update is not allowed to a data item ____________
A. Before the corresponding log record is written out to stable storage
B. After the corresponding log record is written out to stable storage
C. Until the whole log record has been checked for inconsistencies
D. All of the mentioned