Question
Which of the following statements is true about ACID
properties in database transactions?Solution
Atomicity is a key aspect of database transactions, ensuring that a transaction is treated as a single, indivisible unit. If any part of the transaction fails, the entire transaction is rolled back, leaving the database in its original state. This prevents incomplete transactions from corrupting data. For example, during a fund transfer between two accounts, if the debit operation succeeds but the credit operation fails, the transaction is rolled back, and no changes are made to either account. This guarantees reliability and prevents partial updates, which could lead to data inconsistency. Why Other Options Are Incorrect :
- ACID ensures that every transaction updates only one table at a time : This is false; ACID applies regardless of the number of tables updated in a transaction.
- The Isolation property guarantees that no other transaction can execute while one transaction is active : Isolation ensures controlled concurrent execution but does not prohibit simultaneous transactions entirely; it depends on isolation levels like Serializable or Read Committed.
- Durability ensures data is permanently removed after transaction rollback : Durability guarantees that once a transaction is committed, its changes are permanent, even in case of a system failure. Rollbacks do not affect committed changes.
- Consistency ensures that multiple transactions can execute simultaneously without any conflicts : Consistency refers to maintaining the correctness of data states before and after a transaction, not concurrency handling.
Rs. 8500 is invested in scheme βAβ for 2 years and Rs. 6500 is invested in scheme βBβ for 2 years. Scheme βAβ offers simple interest of 13% ...
A man borrowed Rs 300 and promised to pay back in 11 equal instalments of Rs 30 each. Find the rate of simple interest per annum?
A certain sum when invested for 3 years in a scheme offering simple interest of 10% p.a. gives an interest of Rs. 765. What is 110% of the sum invested?
A man deposited Rs. βx + 850β at 12% per annum simple interest and earned Rs. 552 as interest after 2 years. Find the interest earned by him if he d...
At what % of simple interest per annum will Rs. 500 amount to Rs. 610 in five years?
Shivam invested 24000 at 12% p.a. simple interest for βxβ months. If at the end of βxβ months, he received a total amount of Rs.26400. What is t...
A person invests βΉ40,000 at a simple interest rate of 5% per annum for 2 years and reinvests the total amount, including interest, in a scheme offerin...
A sum doubles in 20 years at simple interest. What is the rate of interest?
Simple interest and compound interest (compounded annually) earned on a sum at the end of 2 years at a certain rate of interest p.a. are Rs. 2500 and Rs...
- The total amount received on a certain sum of money at the rate of interest of 15% per annum compound interest after 3 years is Rs. 36501. What was the pri...