DBMS MCQ
DBMS MCQ
31. A transaction is a:
a) Collection of operations
b) Single SQL command
c) Database query
d) Recovery method
Ans: a) Collection of operations
32. Which of the following properties ensures data integrity in transactions?
a) ATOM
b) ACID
c) BASE
d) LOCK
Ans: b) ACID
33. Which property ensures that a transaction's changes are permanent?
a) Durability
b) Consistency
c) Isolation
d) Atomicity
Ans: a) Durability
34. Which schedule preserves the consistency of a database?
a) Dirty schedule
b) Serial schedule
c) Random schedule
d) Interleaved schedule
Ans: b) Serial schedule
35. Deadlock occurs when:
a) A transaction commits
b) Two transactions wait for each other
c) A rollback is done
d) Indexing fails
Ans: b) Two transactions wait for each other
by:
Avishek Dey
Assistant Professor
Department of Computer Science and Engineering