Transactions questions

Q29

GATE CS 2014 CS-2TransactionsMCQ2 marks−2/3 if wrong
Consider the following schedule S of transactions T1, T2, T3, T4:
T1T2T3T4
Reads(X)
Writes(X)
Commit
Writes(X)
Commit
Writes(Y)
Reads(Z)
Commit
Reads(X)
Reads(Y)
Commit
Which one of the following statements is CORRECT?
Show answer without attempting

Answer: C

Q29

GATE CS 2014 CS-3TransactionsMCQ2 marks−2/3 if wrong
Consider the transactions T1, T2, and T3 and the schedules S1 and S2 given below.

T1: r1(X); r1(Z); w1(X); w1(Z)
T2: r2(Y); r2(Z); w2(Z)
T3: r3(Y); r3(X); w3(Y)

S1: r1(X); r3(Y); r3(X); r2(Y); r2(Z); w3(Y); w2(Z); r1(Z); w1(X); w1(Z)
S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z); r2(Z); w3(Y); w1(X); w2(Z); w1(Z)

Which one of the following statements about the schedules is TRUE?
Show answer without attempting

Answer: A

Q29

GATE CS 2014 CS-1TransactionsMCQ2 marks−2/3 if wrong
Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item xx, denoted by r(x)r(x) and w(x)w(x) respectively. Which one of them is conflict serializable?
Show answer without attempting

Answer: D

0/30 correct0 marks

Related topics in Databases