Skip to content

GATE CS Transactions and Concurrency Control questions

Practise Transactions and Concurrency Control questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

13 on this page
Official PYQ2015DatabasesTransactions and Concurrency ControlMCQ · 1 mark
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)}. …
Official PYQ2014DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by r(x)r(x) and w(x)w(x) respectively. Which one of them is conflict serializable?
Official PYQ2014DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following schedule S of transactions T1,T2,T3,T4:T1, T2, T3, T4: …
Official PYQ2014DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the transactions T1,T2, and T3T1, T2, \:\text{and} \:T3 and the schedules S1 and S2S1 \:\text{and} \:S2 given below. T1:r1(X);r1(Z);w1(X);w1(Z)T1: r1(X); r1(Z); w1(X); w1(Z) T2:r2(Y);r2(Z);w2(Z)T2: r2(Y); r2(Z); w2(Z) T3:r3(Y);r3(X);w3(Y)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)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)S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z); r2(Z); w3(Y); w1(X); w2(Z); w1(Z) …
Official PYQ2012DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following transactions with data items PP and QQ initialized to zero: …
Official PYQ2010DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following schedule for transactions T1,T2T1, T2 and T3:T3: …
Official PYQ2010DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? 22-phase locking Time-stamp ordering
Official PYQ2009DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider two transactions T1T_1 and T2T_2, and four schedules S1,S2,S3,S4S_1, S_2, S_3, S_4, of T1T_1 and T2T_2 as given below: T1:R1[x]W1[x]W1[y]T_1: R_1[x]W_1[x]W_1[y] T2:R2[x]R2[y]W2[y]T_2: R_2[x]R_2[y]W_2[y] S1:R1[x]R2[x]R2[y]W1[x]W1[y]W2[y]S_1: R_1[x]R_2[x]R_2[y] W_1[x] W_1[y] W_2[y] S2:R1[x]R2[x]R2[y]W1[x]W2[y]W1[y]S_2: R_1[x]R_2[x]R_2[y] W_1[x] W_2[y] W_1[y] S3:R1[x]W1[x]R2[x]W1[y]R2[y]W2[y]S_3: R_1[x]W_1[x]R_2[x] W_1[y] R_2[y] W_2[y] …
Official PYQ2007DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following schedules involving two transactions. Which one of the following statements is TRUE? S1:r1(X);r1(Y);r2(X);r2(Y);w2(Y);w1(X)S_1 :r_1(X); r_1(Y); r_2(X); r_2(Y); w_2(Y); w_1(X) S2:r1(X);r2(X);r2(Y);w2(Y);r1(Y);w1(X)S_2 :r_1(X); r_2(X); r_2(Y); w_2(Y); r_1(Y); w_1(X)
Official PYQ2006DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider the following log sequence of two transactions on a bank account, with initial balance 12000,12000, that transfer 20002000 to a mortgage payment and then apply a 5%5\% interest. T1 start T1 B old =12000=12000 new =10000=10000 T1 M old =0=0 new =2000=2000 T1 commit T2 start T2 B old =10000=10000 new =10500=10500 T2 commit Suppose the database system crashes …
Official PYQ2003DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Consider three data items D1,D2,D1, D2, and D3,D3, and the following execution schedule of transactions T1,T2,T1, T2, and T3.T3. In the diagram, R(D)R(D) and W(D)W(D) denote the actions reading and writing the data item DD respectively. …
Official PYQ2003DatabasesTransactions and Concurrency ControlMCQ · 1 mark
Which of the following scenarios may lead to an irrecoverable error in a database system?
Official PYQ1999DatabasesTransactions and Concurrency ControlMCQ · 1 mark
For the schedule given below, which of the following is correct: …