What is a database transaction? MCQ with Answer and Explanation

What is a database transaction?
A. A backup copy of the database
B. A database schema
C. A query that reads data
D. A logical unit of work that consists of one or more SQL statements
Answer: Option D
Solution (By JKExamLibrary)
A transaction is a sequence of operations performed as a single logical unit, ensuring ACID properties.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
Which wildcard character is used with the SQL LIKE operator to represent zero, one, or multiple characters?
A. Hash (#)
B. Percentage sign (%)
C. Ampersand (&)
D. Underscore (_)

Correct Answer: Option B


Explanation:
The percentage sign (%) is used as a wildcard character to match any sequence of zero or more characters in an SQL LIKE string comparison query.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which SQL operator allows you to check if a column value matches any item contained within a comma-separated list of explicit values?
A. IN
B. EXISTS
C. BETWEEN
D. LIKE

Correct Answer: Option A


Explanation:
The IN operator allows you to specify multiple literal values or a subquery inside a WHERE clause, testing if an attribute matches any element in the list.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
What is data redundancy?
A. Encrypted data
B. Processed information
C. Absence of data
D. Duplication of data in multiple places

Correct Answer: Option D


Explanation:
Data redundancy refers to unnecessary duplication of data, which DBMS helps control.

This question belongs to: Computer Database Management System (DBMS)