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

Database Management System Questions and Answers

161.

What are the desirable properties of a decomposition

Answer: B

Correct answer: Dependency preservation.

A decomposition should be lossless - the original relation must be recoverable by joining the pieces - and dependency preserving, so that every functional dependency can still be enforced on a single one of the resulting relations. Redundancy is what decomposition removes, not a property it should have.

Please log in or register to report this question.

162.

______is a preferred method for enforcing data integrity
 

Answer: A

Correct answer: Constraints

Constraints are declared as part of the table definition, so the DBMS itself enforces them on every operation and no path can bypass them. A trigger can enforce a rule too, but it is code that has to be written correctly and runs after the fact.

Please log in or register to report this question.

164.

Which of the following relational algebra operations do not require the participating tables to be union-compatible?

Answer: D

Correct answer: Join

Union, intersection and difference are set operations, so both operands must have the same number of attributes drawn from the same domains - that is what union-compatible means. A join combines attributes from two different relations and so has no such requirement.

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