Transaction Properties questions

Q27

GATE CS 2025 CS-2TransactionsMSQ1 mark
An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account AA attempted simultaneous transfers of Rs. 10000 each from account AA to account BB. Both transactions read the same value, Rs. 11000, as the initial balance in AA and were allowed to go through. BB was credited Rs. 10000 twice. AA was debited only once and ended up with a balance of Rs. 1000.

Which of the following properties is/are certain to have been violated by the system?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q19

GATE CS 2024 CS-2TransactionsMCQ1 mark−1/3 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
Show answer without attempting

Answer: A

Q13

GATE CS 2021 CS-1TransactionsMSQ1 mark
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?
More than one option can be correct.
Show answer without attempting

Answer: A

Q22

GATE CS 2016 CS-1TransactionsMCQ1 mark−1/3 if wrong
Which one of the following is NOT a part of the ACID properties of database transactions?
Show answer without attempting

Answer: D

Q31

GATE CS 2015 CS-2TransactionsMCQ1 mark−1/3 if wrong
Consider the following transaction involving two bank accounts x and y.
read(x); x := x - 50; write(x); read(y); y:= y + 50; write(y)
The constraint that the sum of the accounts x and y should remain constant is that of
Show answer without attempting

Answer: B

0/50 correct0 marks

Related topics in Transactions