engineering computer science MCQ #744

In a database, what is a transaction?

engineering computer science MCQ #744

  1. Question 1

    Q1. In a database, what is a transaction?

    • A) A sequence of operations performed as a single, all-or-nothing unit of work
    • B) A single SQL statement
    • C) A database backup
    • D) A database index

    Answer: A sequence of operations performed as a single, all-or-nothing unit of work

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