Quiz: Chapter 10 Transaction Management and Concurrency Control

1. Which of the following best defines a transaction?

A transaction is a logical unit of work that must be entirely completed or entirely aborted

2. Which of the following is not a transaction property?

Completeness

3. Which of the following is NOT an event to end a transaction?

 New SQL statement is reached.

4. Which of the following best defines inconsistent retrievals?

 A concurrency control problem that arises when a transaction calculating summary functions over a set of data while other transactions are updating the same retrieved data.

5. Which of the following is NOT a valid lock level?

Column lock level

6. Which of the following statements best defines exclusive lock?

An exclusive lock exists when access is reserved specifically for the transaction that locked the object.

7. When do deadlocks occur?

When two transactions wait indefinitely for each other to unlock data

8. Which of the following allows dirty reads?

 Read Uncommitted

9. Which of the following is not an event that can cause a database to stop working and compromise the integrity of the data?

 Unauthorized access to database

10. Which of the following is NOT a valid technique to control deadlocks?

Deadlock abortion: all transactions are aborted for the requested object

Chapter 10 Use It

Your company is confused about the correct execution of two transactions and needs your technical assistance.

Analyze the table and select the correct answer.

TimeTransactionStepStored Value
1T1   READ COMPUTER_QOH25
2T1   COMPUTER_QOH = 25 + 50 
3T1   Question 1Question 2
4T1   *******ROLLBACK********Question 3
5T2   READ COMPUTER_QOH 
6T2   COMPUTER_QOH = 25 – 10 
7T2   Question 4Question 5

‘WRITE COMPUTER_QOH

75

25

‘WRITE COMPUTER_QOH

15

Other Links:

Statistics Quiz

Networking Quiz

See other websites for quiz:

Check on QUIZLET

Check on CHEGG



Leave a Reply

Your email address will not be published. Required fields are marked *