Machine-translated by Google. Questions are authored in English.
Top

Database Management System Questions and Answers

21.

Which of the following is not a consequence of concurrent operations?

Answer: B

Correct answer: Update anomaly.

Lost updates, unrepeatable reads and dirty reads all arise from transactions running at the same time. An update anomaly is a consequence of poor normalisation - the same fact stored twice - and would occur even with one user.

Please log in or register to report this question.

23.

The data in the database at a particular moment of time is called the _______

Answer: A

Correct answer: Snapshot

The state of the database at one instant is a snapshot, or an instance. The schema, by contrast, is the description that holds across all such instants.

Please log in or register to report this question.

24.

Drop Table cannot be used to drop a table referenced by a ______ constraint.

Answer: C

Correct answer: Foreign Key

If another table's foreign key refers to this one, dropping it would leave those references pointing at nothing, so the DBMS refuses. The referencing constraint or table has to go first.

Please log in or register to report this question.

25.

If two relations R and S are joined, then the non matching tuples of both R and S are ignored in

Answer: D

Correct answer: inner join

An inner join returns only the pairs of rows that match, discarding unmatched rows from both sides. The outer joins exist precisely to keep them: left keeps the unmatched rows of R, right those of S, and full both.

Please log in or register to report this question.

26.

If an entity can belong to only one lower level entity then the constraint is

Answer: B

Correct answer: disjoint

If an entity may belong to at most one of the lower-level sets, the specialisation is disjoint; if it may belong to several, it is overlapping. Partial and total answer a different question - whether every higher-level entity must belong to some lower-level set at all.

Please log in or register to report this question.

27.

The cost of reading and writing temporary files while evaluating a query can be reduced by

Answer: B

Correct answer: pipelining

Without pipelining each operation writes its whole result to a temporary file for the next to read. Pipelining passes each tuple straight from one operation to the next as it is produced, so the intermediate results are never written to disk at all.

Please log in or register to report this question.

28.

Which of the following concurrency control schemes is not based on the serializability property?

Answer: D

Correct answer: None of these .

All three schemes exist to guarantee serializability: two-phase locking and the tree protocol enforce it by the order in which locks are taken, and timestamp ordering by comparing transaction timestamps. So none of them is the odd one out.

Please log in or register to report this question.

30.

The middleware databases in which the business rules act are applicable to _______ tier architectures

Answer: B

Correct answer: Three

A three-tier architecture separates presentation, application logic and data. The business rules live in the middle tier, which is what distinguishes it from two-tier, where the client holds them and talks to the database directly.

Please log in or register to report this question.

Loading…
Tags: Database Management System Questions and Answers || Database Management System MCQ Questions and Answers || Database Management System GK Questions and Answers || Database Management System GK MCQ Questions || Database Management System Multiple Choice Questions and Answers || Database Management System GK || GK on Database Management System || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness