Question Bank For DBMS CIT II-1
Question Bank For DBMS CIT II-1
X → Y
The left side of FD is known as a determinant, the right side of the production is known
as a dependent.For example:Assume we have an employee table with attributes:
Emp_Id, Emp_Name, Emp_Address.
Here Emp_Id attribute can uniquely identify the Emp_Name attribute of employee table
because if we know the Emp_Id, we can tell that employee name associated with it.
Partially committed: The state after the final statement of the transaction has been
executed
Committed: The state where the changes are made permanent on the database and the
transaction is complete
Failed: The state where the transaction fails to complete successfully
Aborted: The state where the changes made by the transaction are canceled and the
database is restored to its state before the transaction began
Terminated: The state where the transaction is finished
9. Define deadlock.
In a database management system (DBMS), a deadlock occurs when two or more
transactions are waiting for each other to release locks, creating a circular wait that can block the
system. For example, Transaction A might have a lock on the Accounts table and need a lock on
the Orders table to finish, while Transaction B might have a lock on the Orders table and need a
lock on the Accounts table.
10. Describe the need of shadow paging.
Shadow paging is a technique used in database management systems (DBMS) to avoid
in-place updates of pages and ensure data consistency. It creates a shadow copy of the
database and applies modifications to it, which minimizes the risk of data
corruption. Shadow paging also improves concurrency and performance by allowing
transactions to work on isolated portions of the database without affecting other
concurrent transactions.