Ch. 10/P2 Flashcards
The main database transaction properties are atomicity, consistency, durability, isolation, and \_\_\_\_\_\_\_\_. a. serializability b. capability c. concurrency d. transitivity
a. serializability
In database terms, a(n) \_\_\_\_\_\_\_\_ is any action that reads from and/or writes to a database. a. lock b. session c. transaction d. interaction
c. transaction
A ________ database state is one in which all data integrity constraints are satisfied.
a. fixed
b. secure
c. complete
d. consistent
d. consistent
If any of the SQL statements in a transaction fail, the entire transaction is ________ to
the original database state that existed before the transaction started.
a. abandoned
b. completed
c. rolled back
d. diverted
c. rolled back
All transactions are controlled and executed by the DBMS (subject to some limitations) to guarantee database \_\_\_\_\_\_\_\_. a. uniqueness b. integrity c. consistency d. design
b. integrity
What is a database request?
a. A series of SQL statements that implement all of the business rules in an application.
b. One or more SQL statements that implement one business rule.
c. A single SQL statement in an application program or transaction.
d. A transaction.
c. A single SQL statement in an application program or transaction.
Each database request generates several ________.
a. input/output (I/O) operations
b. transactions
c. business processes
d. SQL statements
a. input/output (I/O) operations
The ________ statement is used to end a successful transaction.
a. COMMIT
b. DONE
c. END
d. QUIT
a. COMMIT
Which DBMS does not support transaction management by default?
a. MS Access
b. Oracle
c. DB2
d. SQL Server
(Also, MySQL default tables, MyISAM, does not support transactions.)
a. MS Access
\_\_\_\_ requires that all operations of a transaction be completed; if not, the transaction is aborted. a. Atomicity b. Durability c. Consistency d. Isolation
a. Atomicity
____ means that the data used during the execution of a transaction cannot be used by
a second transaction until the first one is completed.
a. Isolation
b. Atomicity
c. Durability
d. Consistency
a. Isolation
________ ensures that once transaction changes are done, they cannot be undone or
lost, even in the event of a system failure.
a. Consistency
b. Isolation
c. Atomicity
d. Durability
d. Durability
Which property is especially important in a multiuser database?
a. Consistency
b. Atomicity
c. Serializability
d. Durability
c. Serializability
If several concurrent transactions are executed over the same data set and the second
transaction updates the database before the first transaction is finished, the ________
property is violated and the database is no longer consistent.
a. atomicity
b. consistency
c. durability
d. isolation
d. isolation
When a(n) \_\_\_\_\_\_\_\_ statement is reached, all changes are permanently recorded within the database. a. DONE b. EXIT c. COMMIT d. ROLLBACK
c. COMMIT