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

The Relational Model and Normalization Questions and Answers

61.

For some relations, changing the data can have undesirable consequences called:

Answer: B

Correct answer: modification anomalies.

A poorly structured relation makes some changes impossible to perform cleanly: an insertion anomaly prevents a fact being recorded until some unrelated fact is known, a deletion anomaly destroys information as a side effect, and an update anomaly requires the same value to be changed in many places. Normalisation exists to remove them.

Please log in or register to report this question.

Answer: C

Correct answer: identifies a row.

A key identifies rows, not columns, and it may consist of one attribute or several - a key of two or more is a composite key, but there is no requirement either way. What matters is that the combination be unique across the relation and minimal, so that no attribute could be dropped and uniqueness still hold.

Please log in or register to report this question.

Answer: A

Correct answer: column of a table.

An attribute is a column, corresponding to a field in file-processing terms, and it draws its values from a single domain. A row is a tuple, and the whole two-dimensional structure is the relation. A key is a role that one or more attributes play rather than a structural element in its own right.

Please log in or register to report this question.

64.

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.

65.

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.

Answer: C

Correct answer: row of a table.

A tuple is a row, the record of the older vocabulary. Since no two rows in a relation may be identical and the order of rows carries no meaning, a relation is formally a set of tuples - which is why a query result has no inherent ordering unless one is requested explicitly.

Please log in or register to report this question.

67.

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

Answer: A

Correct answer: A → B.

If A determines the pair (B, C), then it determines each of them separately: given a value of A, the value of B is fixed and so is the value of C. This is the decomposition rule of Armstrong’s axioms. The converse does not hold, so nothing follows in the reverse direction, and the other three options all reverse the arrow.

Please log in or register to report this question.

Answer: A

Correct answer: split the relation into two relations, each with a single theme.

A multivalued dependency problem arises when one relation holds two independent multivalued facts about the same key, forcing every combination of the two to be stored. Separating them into two relations, each carrying a single theme, removes the spurious combinations entirely - and this is exactly what putting the relation into fourth normal form means.

Please log in or register to report this question.

69.

In a relation, the order of the rows matters.

Answer: B

Correct answer: False

Row order carries no meaning in a relation: a relation is a set of tuples, and a set has no inherent sequence. A query that needs its output in a particular order must request it explicitly, and any apparent ordering in a result set without such a request is an accident of storage and must not be relied on.

Please log in or register to report this question.

70.

In a relation, the rows are sometimes called "records."

Answer: A

Correct answer: True

The vocabularies correspond directly: relation, tuple and attribute in the formal relational terminology are table, record and field in the older file-processing one. The terms are used interchangeably in practice, and being fluent in both matters because textbooks and product documentation mix them freely.

Please log in or register to report this question.

Loading…

Other Subjects

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