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

Database Design Using Normalization Questions and Answers

11.

Armstrong (1974) proposed systematic approach to derive functional dependencies. Match the following w.r.t. functional dependencies :

List - IList - II
a. Decomposition rulei. If \(X \to Y\) and \(Z \to W\) then \(\{X, Z\} \to \{Y, W\}\)
b. Union ruleii. If \(X \to Y\) and \(\{Y, W\} \to Z\) then \(\{X, W\} \to Z\)
c. Composition ruleiii. If \(X \to Y\) and \(X \to Z\) then \(X \to \{Y, Z\}\)
d. Pseudo transitivity ruleiv. If \(X \to \{Y, Z\}\) then \(X \to Y\) and \(X \to Z\)

Codes : a b c d

Exam Year(s)

UGC NET - 2013,

Answer: D

The match is a-iv, b-iii, c-i, d-ii. The decomposition rule says that if X determines {Y, Z} then X determines Y and X determines Z (iv). The union rule says that if X determines Y and X determines Z then X determines {Y, Z} (iii). The composition rule joins two dependencies, X to Y and Z to W giving {X, Z} to {Y, W} (i). Pseudo transitivity says that if X determines Y and {Y, W} determines Z then {X, W} determines Z (ii).

The other codes confuse union with decomposition, since they run in opposite directions.

Please log in or register to report this question.

12.

Which normal form is considered as adequate for usual database design ?

Exam Year(s)

UGC NET - 2013,

Answer: B

Third normal form is regarded as adequate for the usual database design, option (B). 3NF removes partial dependency and transitive dependency of non-key attributes on the key, so it removes most update, insert and delete anomalies while a decomposition into 3NF can always be made lossless and dependency preserving. Second normal form still allows transitive dependency. Fourth and fifth normal forms deal with multivalued and join dependencies, which are rare in ordinary designs, and the extra decomposition they need costs more joins than it saves, so they are applied only when such dependencies exist. Hence (A), (C) and (D) are not the usual target.

Please log in or register to report this question.

Answer: B

Correct answer: Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.

All three rows describe the same thing but no two strings match, so grouping, counting and joining on the column all give wrong answers. It arises wherever free text is entered without a controlled vocabulary, and the remedy is to constrain the values - by a lookup table or a check constraint - rather than to clean them repeatedly.

Please log in or register to report this question.

14.

Eliminating modification anomalies is a(n) ________ of normalization.

Answer: A

Correct answer: advantage

This is the central benefit and the reason normalization exists. A relation carrying more than one theme suffers insertion, deletion and update anomalies: a fact cannot be recorded without an unrelated one, deleting a row destroys information, and a single change must be made in many places. Decomposing into well-formed relations removes all three.

Please log in or register to report this question.

15.

Normalization ________ data duplication.

Answer: A

Correct answer: eliminates

Properly normalized tables store each fact once. The repetition of non-key data across rows is exactly what the normal forms are defined to remove, and its absence is what makes update anomalies impossible. Foreign key values do repeat, but they are the links between relations rather than duplicated data in the sense meant here.

Please log in or register to report this question.

16.

One common design problem when designing a database from existing data is the use of a single cell in one column to store multiple values of an attribute.

Answer: B

Correct answer: True

This is the multivalue problem, and it is a first normal form violation: a cell must hold a single value. Several telephone numbers or skills packed into one cell cannot be searched, sorted or counted reliably, and the remedy is to move the repeating values into a separate table with one row for each.

Please log in or register to report this question.

17.

Most of the time, modification anomalies cause problems that are severe enough that a table should be normalized into BCNF.

Answer: A

Correct answer: True

Modification anomalies are not a theoretical nicety: they cause facts to be lost on deletion, facts to be unrecordable until unrelated ones are known, and the same value to be updated inconsistently in different rows. Normalizing to BCNF removes all of them, and that is why BCNF rather than 3NF is the working target.

Please log in or register to report this question.

18.

The phrase "SALE.CNumber must exist in CUSTOMER.CNumber" is a referential integrity constraint.

Answer: A

Correct answer: True

A referential integrity constraint requires that every value appearing in a foreign key already exist as a key value in the referenced relation, which is exactly what this phrase states. It is enforced by the database rather than by the application, and it is what prevents a sale from referring to a customer who does not exist.

Please log in or register to report this question.

19.

Needing to using more complicated SQL in database applications is a(n) ________ of normalization.

Answer: B

Correct answer: disadvantage

Normalization spreads data across more tables, so a query that once read a single table now needs joins and often subqueries. That extra complexity is a real cost - harder to write, harder to read and slower to run - and it is one of the two standard disadvantages set against the elimination of modification anomalies. It is why denormalization is sometimes chosen deliberately.

Please log in or register to report this question.

20.

Proper normalization eliminates duplicated data.

Answer: B

Correct answer: True

A normalized design stores each fact in one place, which is what makes update anomalies impossible: there is no second copy to fall out of step. Foreign key values are repeated, but they are the mechanism by which relations are linked rather than duplicated data, and they are maintained by referential integrity rather than by hand.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Database Design Using Normalization Questions and Answers || Database Design Using Normalization MCQ Questions and Answers || Database Design Using Normalization GK Questions and Answers || Database Design Using Normalization GK MCQ Questions || Database Design Using Normalization Multiple Choice Questions and Answers || Database Design Using Normalization GK || GK on Database Design Using Normalization || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database