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

The Relational Model and Normalization Questions and Answers

11.

In a schema with attributes A, B, C, D and E, with the following set of functional dependencies {A → B, A → C, CD → E, B → D, E → A}, which of the following functional dependencies are not implied by the above set ?

Exam Year(s)

MH SET - 2020, SET Exam - 2020,

Answer: B

The dependency not implied is BD → CD.

Test each by computing the closure of its left side under {A → B, A → C, CD → E, B → D, E → A}.

  • \(\{B, D\}^{+}\): B → D adds nothing new, and no other dependency applies, because each needs A, E or C. So \(\{B, D\}^{+} = \{B, D\}\), which lacks C: BD → CD is not implied.
  • \(\{C, D\}^{+}\): CD → E, E → A, A → B gives ABCDE, so CD → AC holds.
  • \(\{B, E\}^{+}\): E → A, B → D, so BE → AD holds.
  • \(\{A, B\}^{+}\): A → C, B → D, so AB → CD holds.

Please log in or register to report this question.

Answer: B

The statement that is not true is Natural join is a fundamental operation in relational algebra.

The fundamental operations of relational algebra are select, project, union, set difference, Cartesian product and rename. Natural join is a derived operation: it can be written as a Cartesian product followed by a selection on the common attributes and a projection to remove duplicate columns.

The other statements are true. Relational algebra is procedural, since a query states the sequence of operations to apply. Selection is written with σ, and its predicate appears as a subscript, as in \(\sigma_{marks \gt 60}(student)\).

Please log in or register to report this question.

13.

To get a database in 3NF, which of the following steps are essential ?

(i) Converting composite attributes to individual attributes
(ii) Removal of partial dependencies
(iii) Removal of transitive dependencies

Exam Year(s)

MH SET - 2021, SET Exam - 2021,

Answer: D

All three steps are needed, so the answer is (i), (ii) and (iii).

Normalisation to 3NF goes through the earlier forms in order:

  • 1NF: every attribute must hold atomic values, so composite and multi-valued attributes are broken into individual attributes (i).
  • 2NF: partial dependencies of non-key attributes on part of a composite key are removed (ii).
  • 3NF: transitive dependencies of non-key attributes on other non-key attributes are removed (iii).

Leaving out any step leaves the relation short of 3NF, so the options naming only some of them are wrong.

Please log in or register to report this question.

14.

Every table with two single valued attributes is in :

Exam Year(s)

MH SET - 2023, SET Exam - 2023,

Answer: D

Such a table is in all of the above: 2NF, 3NF and BCNF.

Take a relation R(A, B) with two single-valued (atomic) attributes, so it is in 1NF. The only non-trivial functional dependencies it can have are A → B or B → A. Whichever holds, its left side determines the whole relation and so is a key.

BCNF requires the left side of every non-trivial dependency to be a superkey, which is satisfied. Since BCNF implies 3NF, and 3NF implies 2NF, the table is in all three, and picking any single form understates it.

Please log in or register to report this question.

15.

In the context of functional dependency, Armstrong inference rules refer to :

Exam Year(s)

MH SET - 2024, SET Exam - 2024,

Answer: C

Armstrong's inference rules are reflexivity, augmentation and transitivity.

  • Reflexivity: if Y is a subset of X, then X → Y.
  • Augmentation: if X → Y, then XZ → YZ.
  • Transitivity: if X → Y and Y → Z, then X → Z.

These three axioms are sound and complete for deriving every functional dependency in the closure. Decomposition (and union, pseudotransitivity) are additional rules derived from them, so options naming decomposition list a derived rule instead of augmentation.

Please log in or register to report this question.

16.

Consider the relation scheme (M, N, O, P, Q, R) with the following set of functional dependencies :

F = {MO → PQ, MPR → NO}

Which of the following is the trivial functional dependencies in F+, where F+ is closure of F ?

Exam Year(s)

MH SET - 2024, SET Exam - 2024,

Answer: C

The trivial dependency is MP → P.

A functional dependency X → Y is trivial when Y is a subset of X, because it holds in every relation regardless of the data. P is part of MP, so MP → P is trivial; it is in F+ by reflexivity.

MO → PQ and MPR → N are in F+ but are not trivial, since PQ and N are not contained in their left sides. MO → OP also follows from F, but P is not in MO, so it is not trivial either.

Please log in or register to report this question.

17.

Among the following, which is foreign key constraint ?

Exam Year(s)

MH SET - 2025, SET Exam - 2025,

Answer: C

The foreign key constraint is referential integrity.

Referential integrity requires that a foreign key value in one relation either matches an existing primary key value in the relation it refers to, or is null. It stops a row from referring to a record that does not exist.

Domain integrity restricts attribute values to their allowed domain. Entity integrity requires primary key values to be unique and not null. Key integrity concerns uniqueness of keys within a relation. None of these is the constraint a foreign key enforces.

Please log in or register to report this question.

18.

A set of one or more attributes which, taken collectively, allow us to uniquely identify an entity in the entity set is called ................. .

Exam Year(s)

MH SET - 2025, SET Exam - 2025,

Answer: C

Such a set of attributes is a super key.

A super key is any set of one or more attributes that, taken together, uniquely identify an entity in the entity set. It may contain extra attributes that are not needed for uniqueness.

A candidate key is a minimal super key, with no unnecessary attributes. A primary key is the candidate key chosen by the designer. A foreign key refers to the key of another relation and need not be unique at all. The definition in the question, without any minimality condition, is that of a super key.

Please log in or register to report this question.

19.

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.

20.

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.

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