Operating system mcqs atomic transactions
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? I) 2-phase locking II) Timestamp ordering
Both I and II
Neither I nor II
The state of the data accessed by an aborted transaction must be restored to what it was just before the transaction started executing. This restoration is known as ..... of transaction.
roll - back
revert - back
A terminated transaction that has completed its execution successfully is ..... otherwise it is .....
none of the mentioned
A collection of instructions that performs a single logical function is called .....
all of the mentioned
The shrinking phase is a phase in which?
A transaction may obtain locks, but does not release any
A transaction may obtain locks, and releases a few or all of them
A transaction may release locks, but does not obtain any new locks
A transaction may release locks, and does obtain new locks
There are 5 questions to complete.