Questions from Database Systems


Q: You have been assigned to design the database for a new soccer

You have been assigned to design the database for a new soccer club. Indicate the most appropriate sequence of activities by labeling each of the following steps in the correct order. (For example, if...

See Answer

Q: Starting with a consistent database state, trace the activities that are

Starting with a consistent database state, trace the activities that are required to execute a set of transactions to produce an updated consistent database state.

See Answer

Q: Write the SQL code that will list only the distinct project numbers

Write the SQL code that will list only the distinct project numbers found in the EMP_2 table. Figure P7.9 The contents of the EMP_2 table

See Answer

Q: Suppose you are a manufacturer of product ABC, which is composed

Suppose you are a manufacturer of product ABC, which is composed of parts A, B, and C. Each time a new product is created, it must be added to the product inventory, using the PROD_QOH in a table name...

See Answer

Q: Assuming that pessimistic locking is being used, but the two-

Assuming that pessimistic locking is being used, but the two-phase locking protocol is not, create a chronological list of the locking, unlocking, and data manipulation activities that would occur dur...

See Answer

Q: Assuming that pessimistic locking with the two-phase locking protocol is

Assuming that pessimistic locking with the two-phase locking protocol is being used, create a chronological list of the locking, unlocking, and data manipulation activities that would occur during the...

See Answer

Q: Describe the three most common problems with concurrent transaction execution. Explain

Describe the three most common problems with concurrent transaction execution. Explain how concurrency control can be used to avoid those problems.

See Answer

Q: What DBMS component is responsible for concurrency control? How is this

What DBMS component is responsible for concurrency control? How is this feature used to resolve conflicts?

See Answer

Q: Using a simple example, explain the use of binary and shared

Using a simple example, explain the use of binary and shared/exclusive locks in a DBMS.

See Answer

Q: Suppose that your database system has failed. Describe the database recovery

Suppose that your database system has failed. Describe the database recovery process and the use of deferred-write and write-through techniques.

See Answer