engineering computer science MCQ #903

What is the purpose of 'TRANSACTION' in a database?

engineering computer science MCQ #903

  1. Question 1

    Q1. What is the purpose of 'TRANSACTION' in a database?

    • A) To ensure data consistency by grouping multiple operations together
    • B) To improve query performance
    • C) To store data in a database
    • D) To retrieve data from a database

    Answer: To ensure data consistency by grouping multiple operations together

    Explanation: A 'TRANSACTION' is a sequence of operations that are executed as a single, all-or-nothing unit, ensuring data consistency and integrity.