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

The Relational Model and Normalization Questions and Answers

1.

A relation in this form is free of all modification anomalies.

Answer: D

Correct answer: Domain/key normal form

Fagin proved that a relation in domain/key normal form has no modification anomalies of any kind, and conversely that any relation free of them is in DK/NF. It is defined by requiring that every constraint on the relation follow from its domain and key definitions alone. The difficulty is that there is no general procedure for putting a relation into it.

Please log in or register to report this question.

2.

A relation is in first normal form if every attribute value in it is atomic.

Answer: A

Correct answer: True

First normal form forbids repeating groups and multi-valued entries, requiring each cell to hold a single indivisible value. A column storing a comma-separated list of phone numbers violates it.

Please log in or register to report this question.

3.

Which of the following is a group of one or more attributes that uniquely identifies a row?

Answer: A

Correct answer: Key

A key is one or more attributes whose values uniquely identify a row. A determinant is the left-hand side of a functional dependency and need not be unique - every key is a determinant, but not every determinant is a key, and that asymmetry is exactly what Boyce-Codd Normal Form addresses. A tuple is a row and a relation a table.

Please log in or register to report this question.

4.

A primary key is a composite key that was selected to be the main identifier for the relation.

Answer: B

Correct answer: False

A primary key is chosen from among the candidate keys, and there is no requirement that it be composite - most primary keys are single attributes, and many are deliberately introduced surrogate keys for exactly that reason. A composite key may be selected as the primary key, but that is a possibility rather than part of the definition.

Please log in or register to report this question.

5.

If attributes A and B determine attribute C, then it is also true that:

Answer: C

Correct answer: (A,B) is a composite determinant.

When two attributes together determine a third, the pair forms a composite determinant, and the dependency is on the pair as a whole. It does not follow that either attribute determines C on its own - if it did, the other would be redundant and the determinant would not be minimal. Nor does the dependency work in reverse.

Please log in or register to report this question.

6.

Row is synonymous with the term:

Answer: A

Correct answer: record.

The relational model and the older file-processing vocabulary describe the same structures in different words: a relation is a table, a tuple is a row is a record, and an attribute is a column is a field. Knowing the correspondence matters mainly because textbooks and products mix the two vocabularies freely.

Please log in or register to report this question.

7.

In the relational model, relationships between relations or tables are created by using:

Answer: D

Correct answer: foreign keys.

A relationship is represented by placing the key of one relation into another as a foreign key, so a row in the second can be matched to exactly one row in the first. The relational model has no pointers and no explicit links; every relationship is expressed by matching values, which is what allows relations to be joined in any combination.

Please log in or register to report this question.

8.

In a relation, the columns are sometimes called "attributes."

Answer: A

Correct answer: True

Columns are attributes in the relational vocabulary, fields in the older file-processing one. Each attribute draws its values from a single domain, and attributes are identified by name rather than by position, which is why the order in which the columns are written does not matter.

Please log in or register to report this question.

9.

Every time attribute A appears, it is matched with the same value of attribute B, but not the same value of attribute C. Therefore, it is true that:

Answer: A

Correct answer: A → B.

A functional dependency holds when each value of the determinant is always paired with one and the same value of the dependent attribute. Here A always brings the same B, so A determines B; but A appears with different values of C, so A does not determine C, and it cannot determine the pair (B, C) either. The last option reverses the direction, for which the data give no evidence.

Please log in or register to report this question.

10.

A relation is in 5NF when multivalued dependencies are isolated in their own relation.

Answer: B

Correct answer: False

Isolating multivalued dependencies in their own relations gives fourth normal form, not fifth. Fifth normal form, sometimes called project-join normal form, deals with join dependencies: relations that cannot be reconstructed correctly from any two of their projections but can from three or more.

Please log in or register to report this question.

Loading…
Tags: The Relational Model and Normalization Questions and Answers || The Relational Model and Normalization MCQ Questions and Answers || The Relational Model and Normalization GK Questions and Answers || The Relational Model and Normalization GK MCQ Questions || The Relational Model and Normalization Multiple Choice Questions and Answers || The Relational Model and Normalization GK || GK on The Relational Model and Normalization || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database