- Which of the following is a valid state for a transaction?
a) Ready
b) Aborted
c) Incomplete
d) LockedAnswer: b) Aborted - What is the initial state of a transaction when it starts execution?
a) Committed
b) Active
c) Failed
d) Partially CommittedAnswer: b) Active - In which state is a transaction when it has completed all operations successfully and changes have been made permanent?
a) Active
b) Committed
c) Aborted
d) FailedAnswer: b) Committed - Which state indicates that a transaction has been initiated but has not yet been fully executed or committed?
a) Aborted
b) Active
c) Committed
d) Partially CommittedAnswer: b) Active - What happens to a transaction in the Aborted state?
a) Its changes are permanently applied to the database.
b) It has completed its execution successfully.
c) All changes made by the transaction are rolled back, and it does not affect the database.
d) It is pending and waiting for external confirmation.Answer: c) All changes made by the transaction are rolled back, and it does not affect the database. - Which state is entered after a transaction has executed all its operations but has not yet been committed?
a) Active
b) Partially Committed
c) Failed
d) AbortedAnswer: b) Partially Committed - Which of the following states is used to denote that a transaction has encountered an error and will not proceed further?
a) Active
b) Committed
c) Aborted
d) Partially CommittedAnswer: c) Aborted - In which state does a transaction wait for the system to ensure that all its operations are safe to commit?
a) Active
b) Committed
c) Partially Committed
d) FailedAnswer: c) Partially Committed - Which of the following actions is performed when a transaction transitions from the Active state to the Committed state?
a) Rollback of all changes
b) Permanent application of changes to the database
c) System reboots
d) Transaction logs are deletedAnswer: b) Permanent application of changes to the database - Which state follows the Failed state if the transaction is resolved and able to continue?
a) Active
b) Committed
c) Partially Committed
d) AbortedAnswer: a) Active - Which of the following describes the transition from the Active state to the Aborted state?
a) The transaction is completed, and its changes are applied.
b) The transaction has been found to be in error, and all changes are undone.
c) The transaction is waiting for external confirmation.
d) The transaction has partially completed its operations.Answer: b) The transaction has been found to be in error, and all changes are undone. - What is the role of the log manager in the transaction lifecycle?
a) To monitor and manage transaction states
b) To record changes made by transactions for recovery purposes
c) To initiate transactions
d) To allocate system resources for transactionsAnswer: b) To record changes made by transactions for recovery purposes - Which state of a transaction represents that it has executed some operations but is still in progress and not yet committed?
a) Aborted
b) Partially Committed
c) Active
d) FailedAnswer: b) Partially Committed - In which state does a transaction undergo a system check to determine if it should be rolled back or committed?
a) Active
b) Partially Committed
c) Failed
d) AbortedAnswer: b) Partially Committed - If a transaction fails and cannot be recovered, what state does it ultimately reach?
a) Active
b) Committed
c) Partially Committed
d) AbortedAnswer: d) Aborted
More MCQs Of Database Systems
- Database Models MCQs in DBMS
- Relational Database Model MCQs in DBMS
- SQL (Structured Query Language) MCQs in DBMS
- Database Design MCQs in DBMS
- Database Management System Architecture MCQs in DBMS
- Storage and File Structure MCQs in DBMS
- Query Processing and Optimization MCQs in DBMS
- Database Transaction Management MCQs in DBMS
- Database Security and Authorization MCQs in DBMS
- Backup and Recovery MCQs in DBMS
- Distributed Databases MCQs in DBMS
- SET 1: database design mcqs (database design mcqs )
- SET 2: database mcqs with answers pdf (database mcqs with answers pdf )
- SET 3: modern database management 12th edition mcqs (modern database management 12th edition mcqs)
- SET 4: database systems mcqs (database systems mcqs)
- SET 5: dbms mcqs (dbms mcqs )
- SET 6: dbms mcqs with answers (dbms mcqs with answers)
- SET 7: solved mcqs of dbms (solved mcqs of dbms)
- SET 8: dbms mcqs with answers pdf(dbms mcqs with answers pdf)
- SET 9: relational database management system mcqs(relational database management system mcqs)
- SET 10: solved mcqs of database management system(solved mcqs of database management system)
- SET 11: basic database mcqs pdf (basic database mcqs pdf)
- SET 12: relational database management system mcqs (relational database management system mcqs )
- SET 13: database mcqs online test (database mcqs online test)
- SET 14: database interview questions mcqs (database interview questions mcqs)
- SET 15: database developer mcqs (database developer mcqs)
- SET 16: database Repeated mcqs (database Repeated mcqs)
- SET 17: Database mcqs PPSC (Database mcqs PPSC)
- SET 18: Database mcqs FPSC (Database mcqs FPSC)
- SET 19: DBMS mcqs FPSC (DBMS mcqs FPSC)
New Arrival