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.
In the questions given below, there are three statements followed by three conclusions I, II and III. You have to take the three given statements to be...
Statements: No bold is a smart.
Some smarts are cowards.
Conclusions: I. Some bolds are not cowards.
II. Some smarts are not bold...
In the given question, three statements are given each followed by two conclusions I and II. You have to consider the statements to be true, even if th...
Statements: All diaries are papers.
Some papers are pens.
No pencil is a paper.
Conclusions:I. No diary is a pencil.
...
In each question below are given three statements followed by three conclusions numbered I, II and III. You have to take the two given statements to be...
Statement:
Some Sundays are Monday.
Only a few Monday are Tuesday.
All Wednesday are Tuesday.
None of the Mondays ...
Statements:Â
Only a few Apples are Kiwis.
All Kiwis are Pears.
No Pear is a Banana.
Conclusions:
I. Some Apples are ...
Statements: Some pins are mirrors. Â
All mirrors are boxes.
Conclusions:I. Some boxes are pins.Â
 II. Some boxes are mirrors.
Statements:
Some authors are teachers.
All teachers are poets.
Some poets are artists.
Conclusions:
I. Some auth...
Statement:
Some lehenga are saree.Â
Only a few suit are dhoti.Â
Only a few dhoti are hanky.   Â
All lehenga are hanky....