A transaction can include following basic database access operations:
20112011
A transaction can include following basic database access operations:
Answer: C. Both (A) and (B) — A database transaction is defined as a logical unit of work that includes both reading data (Read_item) and modifying data (Write_item). To ensure data…
- A.
Read_item(X)
- B.
Write_item(X)
- C.
Both (A) and (B)
- D.
None of these
Attempted by 654 students.
Show answer & explanation
Correct answer: C
A database transaction is defined as a logical unit of work that includes both reading data (Read_item) and modifying data (Write_item). To ensure data integrity and consistency, transactions must support both retrieval and update operations within a single atomic process.
A video solution is available for this question — log in and enroll to watch it.
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2