Home / CSE / Database System 2 - CS :: Managing Multiuser Databases

CSE :: Database System 2 - CS

  1. Locks placed by command are called ________ .

  2. A.

     implicit locks

    B.

     explicit locks

    C.

     exclusive locks

    D.

     shared locks

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following locks the item from change but not from read?

  4. A.

     Implicit lock

    B.

     Explicit lock

    C.

     Exclusive lock

    D.

     Shared lock

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following occurs when a transaction rereads data and finds new rows that were inserted by a command transaction since the prior read?

  6. A.

     Nonrepeatable read

    B.

     Phantom read

    C.

     Dirty read

    D.

     Consistent read

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. A transaction for which all committed changes are permanent is called:

  8. A.

     atomic.

    B.

     consistent.

    C.

     isolated.

    D.

     durable.

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. In this instance, dirty reads are disallowed, while nonrepeatable reads and phantom reads are allowed.

  10. A.

     Read committed

    B.

     Read uncommitted

    C.

     Repeatable read

    D.

     Serializable

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following occurs when a transaction rereads data it has previously read and finds modification or deletions caused by a committed transaction?

  12. A.

     Nonrepeatable read

    B.

     Phantom read

    C.

     Dirty read

    D.

     Consistent read

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. The advantage of optimistic locking is that:

  14. A.

     the lock is obtained only after the transaction has processed.

    B.

     the lock is obtained before the transaction has processed.

    C.

     the lock never needs to be obtained.

    D.

     transactions that are best suited are those with a lot of activity.

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following refers to a cursor type that when the cursor is opened, a primary key value is saved for each row in the recordset; when the application accesses a row, the key is used to fetch the current values of the row?

  16. A.

     Forward only

    B.

     Static

    C.

     Keyset

    D.

     Dynamic

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following refers to a cursor type where changes of any type and from any source are visible?

  18. A.

     Forward only

    B.

     Static

    C.

     Keyset

    D.

     Dynamic

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following disallows both dirty reads and nonrepeatable reads, but allows phantom reads?

  20. A.

     Read committed

    B.

     Read uncommitted

    C.

     Repeatable read

    D.

     Serializable

    View Answer

    Workspace

    Discuss Discuss in Forum