GATEverse
← GATE CSE 2015 Set 3

Q29

MCQ2 marks, −0.67

Consider the partial Schedule SS involving two transactions T1T1 and T2T2. Only the read\textit{read} and the write\textit{write} operations have been shown. The read\textit{read} operation on data item PP is denoted by read(P)\textit{read(P)} and write\textit{write} operation on data item PP is denoted by write(P)\textit{write(P)}.

Time InstanceTransaction IDT1T21read(A)2write(A)3read(C)4write(C)5read(B)6write(B)7read(A)8commit9read(B)Schedule S\overset{\large{\text{Schedule S}}}{\begin{array}{c|ll} \textbf{Time Instance}& \rlap{\text{Transaction ID}}\\&\textbf{T1}& \textbf{T2} \\\hline 1& \text{read(A)} \\ 2& \text{write(A)}\\ 3& & \text{read(C)} \\ 4& & \text{write(C)} \\ 5& & \text{read(B)} \\ 6& & \text{write(B)} \\ 7& & \text{read(A)} \\ 8& & \text{commit} \\ 9& \text{read(B)} \\ \end{array}}

Suppose that the transaction T1T1 fails immediately after time instance 9. Which of the following statements is correct?

Sign in to save attempts.

Loading…