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

Database Management System Questions and Answers

31.

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.

33.

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.

Answer: D

Correct answer: Logical, physical and view

The ANSI/SPARC three-schema architecture has an internal or physical schema, a conceptual or logical schema, and external or view schemas - one per user group. Separating them is what makes data independence possible.

Please log in or register to report this question.

36.

In SQL, testing whether a subquery is empty is done using

Answer: D

Correct answer: EXISTS

EXISTS takes a subquery and yields true if it returns at least one row, so NOT EXISTS tests emptiness. DISTINCT and UNIQUE concern duplicates and NULL tests a single value.

Please log in or register to report this question.

37.

Which of the following is not a recovery technique?

Answer: C

Correct answer: Two-phase commit

Deferred update, immediate update and shadow paging are all recovery techniques. Two-phase commit is a protocol for making a distributed transaction commit consistently across several sites - a concurrency and coordination problem rather than recovery from failure.

Please log in or register to report this question.

38.

The ______ approach reduces the time and effort required for design and carries less risk in database management.

Answer: B

Correct answer: Multiple databases

Splitting the design into several smaller databases means each can be designed, tested and changed on its own, so less has to be got right at once and a mistake affects less. A single global database has to be designed as one piece, which is both slower and riskier.

Please log in or register to report this question.

39.

____ table store information about database or about the system.
 

Answer: B

Correct answer: System

System tables, also called the catalogue or data dictionary, hold the database's description of itself - the tables, columns, indexes, users and permissions that exist. They are how the DBMS knows what it is managing.

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