Concurrency Control questions

Q15

GATE CS 2025 CS-1TransactionsMCQ1 mark−1/3 if wrong
A schedule of three database transactions T1T_1, T2T_2, and T3T_3 is shown. Ri(A)R_i(A) and Wi(A)W_i(A) denote read and write of data item AA by transaction TiT_i, i=1,2,3i = 1,2,3. The transaction T1T_1 aborts at the end. Which other transaction(s) will be required to be rolled back?
R1(X)  W1(Y)  R2(X)  R2(Y)  R3(Y)  ABORT(T1)R_1(X) \; W_1(Y) \; R_2(X) \; R_2(Y) \; R_3(Y) \; ABORT(T_1)
Show answer without attempting

Answer: C

Q53

GATE CS 2025 CS-2TransactionsMSQ2 marks
Consider the database transactions T1 and T2, and data items X and Y. Which of the schedule(s) is/are conflict serializable?

Transaction T1: R1(X), W1(Y), R1(X), W1(X), COMMIT(T1)
Transaction T2: W2(X), W2(Y), COMMIT(T2)
More than one option can be correct.
Show answer without attempting

Answer: B

0/20 correct0 marks

Related topics in Transactions