Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Ch5_Database Transaction Management

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

Choose the type of processing system that has time delay between the actual event and the transaction process.

a)

Real Time Transaction Processing System

b)

Batch Processing System

c)

Online Transaction Processing System

d)

Automatic Transaction Processing System

2.

Choose the suitable description of Real Time Transaction Processing System.

a)

Perform simultaneous input, process and output without requring access to online database

b)

Facilitate and manage online transaction-oriented applications

c)

Allow users to manage data at their own site

d)

Accumulate multiple transaction over a period of time and process it as a single unit

3.

Choose the DISADVANTAGE of OLTP

a)

It is a tedious, complex and expensive processing.

b)

Database is more suseptible to intruders because of its online availability.

c)

The database may not always kept up to date.

d)

Processing could be slow due to one time processing over time.

4.

Choose the correct description of A.C.I.D in database transaction

a)

Atomicity, Consistency, Integrity,

Dynamic

b)

Atomicity, Confidential, Isolation,

Durability

c)

Atomicity, Consistency, Isolation,

Durability

d)

Atomicity, Consistency, Informative,

Durability

5.

"No transaction will affect the existence of any other transaction."

This statement describe the ___________ properties in database transaction.

a)

Isolation

b)

Confidential

c)

Integrity

d)

Atomicity

6.

"There must be no state in a database where a transaction is left partially completed."

This statement explains...

a)

Durability

b)

Atomicity

c)

Isolation

d)

Integrity

7.

Choose the command use in transaction

I - Start Transaction

II - Commit

III - Join

IV - Rollback

a)

I , II , III

b)

I , II , IV

c)

I , III , IV

d)

II , III , IV

8.

The following are purpose of concurrency control EXCEPT...

a)

Prevent two different users from updating the same data at the same time

b)

Maximize transaction throughput while preventing interference among multiple users

c)

Ensure consistency of transactions in a multi-user environment

d)

Prevent user from accessing data directly from the server

9.

Ali and Wong select the same data and update the data based on the original values resulting that Ali's update overwrite Wong's update. This problem is called ...

a)

Lost Data

b)

Uncommitted Dependency

c)

Lost Update

d)

Inconsistent retrieval

10.

The 'COMMIT' command in SQL means

a)

Make the changes permanent in the database

b)

Start the transaction in database

c)

Undo the command to get back previous data

d)

Make temporary changes in database

11.

Locks granularity means....

a)

number of users allowed to access the database

b)

way to unlock the database

c)

information about the locking system used in database

d)

how much level of the data is locked at one time

12.

Choose the CORRECT statement about lock types in concurrency control.

a)

Shared lock can update and share lock on multiple item

b)

Shared lock can update item in database

c)

Exclusive lock can be granted when a shared lock is held oon the data

d)

Exclusive lock can perform both read and update item

13.

Choose the CORRECT phases in Two Phase Locking protocol.

a)

Expanding and Shrinking

b)

Expanding and Growing

c)

Shrinking and Expanding

d)

Growing and Multiplying

14.

Choose the CORRECT statement for Deadlocks.

a)

Deadlock allows multiple user secure item in database

b)

Deadlock is good for database security

c)

Deadlock occurs when all processes wait for each other to release resources

d)

System in deadlock cannot be rolled back

15.

How does transaction log functions in transaction recovery management? The log keeps track of all transaction operations that affect the values of database items.

a)

Transaction log keep track of all transaction operation in database item

b)

Transaction log restore database to a correct state in all failure event

c)

Transaction log provides backup to restore and recover data

d)

Transaction log rocover all deleted data in external devices