A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider the following two phase locking protocol. Suppose a transaction T accesses (for read or write operations), a certain set of objects {O1,...,Ok}. This is done in the following manner: Step 1. T acquires exclusive locks to O1, . . . , Ok in increasing order of their addresses. Step 2. The required operations are performed. Step 3. All locks are released. This protocol will
a. guarantee serializability and deadlock-freedom
b. guarantee neither serializability nor deadlock-freedom
c. guarantee serializability but not deadlock-freedom
d. guarantee deadlock-freedom but not serializability
Answer:guarantee serializability and deadlock-freedom
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: