Operating System MCQs

1019 MCQs  (Page 51 of 102)

The system periodically performs checkpoints that consists of the following operation(s) ____________
A. Putting all the log records currently in main memory onto stable storage
B. Putting all modified data residing in main memory onto stable storage
C. Putting a log record onto stable storage
D. All of the mentioned
Serializable schedules are ones where ____________
A. Concurrent execution of transactions is equivalent to the transactions executed serially
B. The transactions can be carried out one after the other
C. A valid result occurs after execution transactions
D. None of the mentioned
A locking protocol is one that ____________
A. Governs how locks are acquired
B. Governs how locks are released
C. Governs how locks are acquired and released
D. None of the mentioned
The two phase locking protocol consists of ____________
A. Growing & shrinking phase
B. Shrinking & creation phase
C. Creation & growing phase
D. Destruction & creation phase
The growing phase is a phase in which?
A. A transaction may obtain locks, but does not release any
B. A transaction may obtain locks, and releases a few or all of them
C. A transaction may release locks, but does not obtain any new locks
D. A transaction may release locks, and does obtain new locks
The shrinking phase is a phase in which?
A. A transaction may obtain locks, but does not release any
B. A transaction may obtain locks, and releases a few or all of them
C. A transaction may release locks, but does not obtain any new locks
D. A transaction may release locks, and does obtain new locks
A deadlock can be broken by ____________
A. Abort one or more processes to break the circular wait
B. Abort all the process in the system
C. Preempt all resources from all processes
D. None of the mentioned
The two ways of aborting processes and eliminating deadlocks are ____________
A. Abort all deadlocked processes
B. Abort all processes
C. Abort one process at a time until the deadlock cycle is eliminated
D. All of the mentioned