Managing Multiuser Database Questions and Answers

Take Exam

The Managing Multiuser Database questions with answers topic explores key concepts of concurrent access, transaction control, and data integrity in multiuser environments. It includes programming questions and answers related to SQL, normalization, and database design. This section is valuable for aspirants preparing for placement papers with answers or technical interview Q&A in IT companies like TCS, Infosys, and Wipro. By practicing these problems, students can gain hands-on knowledge of multiuser database management systems such as Oracle and MySQL.

Managing Multiuser Database

Showing 10 of 20 questions

1. Locks placed by command are called ________ .

  • implicit locks
  • explicit locks
  • exclusive locks
  • shared locks
Show Answer Report

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

  • Implicit lock
  • Explicit lock
  • Exclusive lock
  • Shared lock
Show Answer Report

3. 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?

  • Nonrepeatable read
  • Phantom read
  • Dirty read
  • Consistent read
Show Answer Report

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

  • atomic.
  • consistent.
  • isolated
  • durable.
Show Answer Report

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

  • Read committed
  • Read uncommitted
  • Repeatable read
  • Serializable
Show Answer Report

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

  • Nonrepeatable read
  • Phantom read
  • Dirty read
  • Consistent read
Show Answer Report

7. The advantage of optimistic locking is that:

  • the lock is obtained only after the transaction has processed.
  • the lock is obtained before the transaction has processed.
  • the lock never needs to be obtained.
  • transactions that are best suited are those with a lot of activity.
Show Answer Report

8. 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?

  • Forward only
  • Static
  • Keyset
  • Dynamic
Show Answer Report

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

  • Forward only
  • Static
  • Keyset
  • Dynamic
Show Answer Report

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

  • Read committed
  • Read uncommitted
  • Repeatable read
  • Serializable
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test