Transaction: GATE CS Previous Year Questions

Transaction · Databases

38 questions · asked in 20 of 27 years (2000–2026)

MCQ 32 · MSQ 5 · NAT 11-mark 19 · 2-mark 19

2000Questions per year2026

Questions 6–10 of 38

Q6GATE 2024 (Session 2)1 markMCQ−0.33 if wrong
Once the DBMS informs the user that a transaction has been successfully completed, its effect should persist even if the system crashes before all its changes are reflected on disk. This property is called

Q7GATE 2024 (Session 2)1 markMSQ
Which of the following statements about the Two Phase Locking (2PL) protocol is/are TRUE?

One or more options are correct.

Q8GATE 20222 marksMCQ−0.67 if wrong
Let Ri(z)R_i(z) and Wi(z)W_i(z) denote read and write operations on a data element zz by a transaction TiT_i, respectively. Consider the schedule SS with four transactions.

S: R4(x)R2(x)R3(x)R1(y)W1(y)W2(x)W3(y)R4(y)R_4(x)R_2(x)R_3(x)R_1(y)W_1(y)W_2 (x)W_3 (y)R_4(y)

Which one of the following serial schedules is conflict equivalent to SS?

Q9GATE 2021 (Session 1)1 markMSQ
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during recovery.

Which of the following statements is/are correct?

One or more options are correct.

Q10GATE 2021 (Session 1)2 marksMCQ−0.67 if wrong
Let ri(z)r_i(z) and wi(z)w_i(z) denote read and write operations respectively on a data item zz by a transaction TiT_i. Consider the following two schedules.

S1:r1(x)r1(y)r2(x)r2(y)w2(y)w1(x)S1: 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)S2: r_1(x)r_2(x)r_2(y)w_2(y)r_1(y)w_1(x)

Which one of the following options is correct?

Keep practising

Topics in Databases

All CS topics ›