DOWNLOAD FREE PDF BOOK (USEFUL FOR TEACHERS/INSTRUCTORS/COACHING INSTITUTES)
Operating system mcqs atomic transactions
Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? I) 2-phase locking II) Timestamp ordering
I only | |
II only | |
Both I and II | |
Neither I nor II |
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
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.
safety | |
protection | |
roll - back | |
revert - back |
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
A terminated transaction that has completed its execution successfully is ..... otherwise it is .....
committed, destroyed | |
aborted, destroyed | |
committed, aborted | |
none of the mentioned |
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
A collection of instructions that performs a single logical function is called .....
transaction | |
operation | |
function | |
all of the mentioned |
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
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.