Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Normal Forms - Computer Science Engineering (CSE) MCQ

Test: Normal Forms - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: Normal Forms

Test: Normal Forms for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Normal Forms questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Normal Forms MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Normal Forms below.
Solutions of Test: Normal Forms questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Normal Forms solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Normal Forms | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Normal Forms - Question 1

If the truth table cannot be created, we consider the ____ to normal forms as an alternative?

Detailed Solution for Test: Normal Forms - Question 1

If the truth table cannot be created, we consider the reduction to normal forms as an alternative.

Test: Normal Forms - Question 2

Full form of DNF is -?

Detailed Solution for Test: Normal Forms - Question 2

Full form of DNF is Disjunctive Normal Form.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Normal Forms - Question 3

Consider a relation R (A, B, C, D, E, F, G, H), where each attribute is atomic, and following functional dependencies exist.
CH → G
A → BC
B → CFH
E → A
F → EG
The relation R is ______.

Detailed Solution for Test: Normal Forms - Question 3

Since attribute D is not a part of any FD, it must be a part of the candidate key.
AD+ = {ABCDEFGH}
BD+ = {ABCDEFGH}
ED+ = {ABCDEFGH}
FD+ = {ABCDEFGH}
CD+, GD+, and HD+ do not all the attributes. So, they can not be candidate keys.
Candidate keys are AD, BD, ED, and FD.
A → BC, B → CFH, and F → EG are partial dependencies. So, the relation is not in 2NF.
Hence the relation is in 1NF but not in 2NF.

Test: Normal Forms - Question 4

Consider the relation schema: Singer(singerName, songName). What is the highest normal form satisfied by the "Singer" relation schema?

Detailed Solution for Test: Normal Forms - Question 4

Concept:
Normalization: Normalization is a database design technique that reduces data redundancy and eliminates undesirable characteristics like Insertion, Update and Deletion Anomalies.

1NF (First Normal Form):

  • Each table cell should contain a single value.
  • Each record needs to be unique.

2NF (Second Normal Form):

  • It should be in 1NF.
  • Single Column Primary Key that does not functionally dependant on any subset of candidate key relation.

3NF (Third Normal Form):

  • It should be in 2NF.
  • It has no transitive functional dependencies.

Boyce-Codd Normal Form (BCNF):

  • A relation R is in BCNF if R is in Third Normal Form and for every FD, LHS is super key.
  • A relation is in BCNF iff in every non-trivial functional dependency X –> Y, X is a super key.

The given relation schema:
Singer(singerName, songName).

  • Every Binary Relation ( a Relation with only 2 attributes ) is always in BCNF. If a relation is BCNF then it should be in 3NF, 2NF, 1NF.

Hence Singer(singerName, songName) is Boyce-Codd Normal Form (BCNF).
Hence the correct answer is BCNF.

Test: Normal Forms - Question 5

Let the set of functional dependencies F = {QR → S, R → P, S → Q} hold on a relation schema X = (PQRS). X is not in BCNF. Suppose X is decomposed into two schemas Y and Z, where Y = (PR) and Z = (QRS).
Consider the two statements given below.
I. Both Y and Z are in BCNF
II. Decomposition of X into Y and Z is dependency preserving and lossless
Which of the above statements is/are correct?

Detailed Solution for Test: Normal Forms - Question 5

X = (PQRS)

Set of functional dependencies

F = {QR → S, R → P, S → Q}

QR → {Q, R, S, P}

SR → {S, R, P, Q}

QR and SR are keys of Relation schema X

R → P …

part of key (R) → non key(P)

It is partial dependency and hence not in 2nd normal form and therefore not in BCNF (Given)

X is decomposed into two schemas Y and Z, where Y = (PR) and Z = (QRS)

For Y = (PR)

R → P

Y is in BCNF because binary attribute (R is a key).

For Z = (QRS)

QR → S

S → Q

SR → {R, S, Q}

QR → {R, Q, S}

QR and SR are keys of Relation schema X

Z is not in BCNF because

S → Q and S is not Super key.

∴ statement I is incorrect

Dependency Preserving:

R → P is in Y

QR → S in Z

S → Q is in Z

Hence, it is dependency preserving.

Lossless:

Y ∩ Z = R which is key of Y.

Therefore, it is Lossless

Statement II is correct.

Hence, option 3 is the answer

Test: Normal Forms - Question 6

Given a relation schema R(ABCDEFGH) in first normal form. For the set of dependencies
F= { A → B, A → C, CG → H, B → H, G → F}, which dependency is logically implied?
AC → H

Detailed Solution for Test: Normal Forms - Question 6

Concept:
If A → B and B → C then A → C is logically implied to A → B and B → C FDs this is nothing but transitivity rule.

Explanation:
A → B
B → H
Then we can say that A->H which is logically implied by above both FDs
So option 4 is the correct answer.

Test: Normal Forms - Question 7

How many types of normal forms are there to which reduction can be performed?

Detailed Solution for Test: Normal Forms - Question 7

There are 2 types of normal forms in which reduction can be performed.

Test: Normal Forms - Question 8

Which of the following is/are the type(s) of normal forms to which reduction can be performed?

Detailed Solution for Test: Normal Forms - Question 8

The following are the types of normal forms to which reduction can be performed -

  • Disjunctive Normal Form
  • Conjunctive Normal Form
Test: Normal Forms - Question 9

Consider a relational table R that is in 3NF, but not in BCNF, Which one of the following statements is TRUE?

Detailed Solution for Test: Normal Forms - Question 9

Concept: A relation is in 1NF if every values in the relation are atomic.

A relation R with nontrivial functional dependency X → A, where X is not a superkey and A is a non-prime attribute and X is not a proper subset of any key is in called to be in 2NF.
A relation R with nontrivial functional dependency X → A, where X is not a superkey and A is a prime attribute, is called to be in 3NF.
A relation R with nontrivial functional dependency X → A, where X is a superkey is called to be in BCNF.

Explanation:
Statement I: corresponds to a relation that is in 3NF but not in BCNF, because for BCNF, X must be a superkey.

Statement II: corresponds to a relation that is only in 2NF by definition.

Statement III: corresponds to a relation that is not even in 2NF. It is in 1NF.

Statement IV: corresponds to a relation that is not even in 1NF.

Test: Normal Forms - Question 10

Given the following two statements:
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF.
S2: AB → C, D → E, E → C is a minimal cover for the set of functional dependencies AB → C, D → E, AB → E, E → C.
Which one of the following is CORRECT?

Detailed Solution for Test: Normal Forms - Question 10

Statement 1: TRUE
BCNF (Boyce Codd Normal Form):
A relation R is in BCNF whenever a non – trivial functional dependency X → A holds in R, where X is the super-key of R.
A binary relation is always in BCNF. A binary relation contains only two attributes.
Functional dependency that is possible from a binary relation is one.

Example:
Consider R(A, B), in this only one functional dependency is possible either A → B or B → A
In both the cases, left hand side will be the super key. In this way R(A, B) is always in BCNF.
If a relation is in BCNF then it is in 1NF, 2 NF and 3 NF

Statement 2: FALSE
Set 1 = {AB → C, D → E, AB → E, E→ C}
Set 2 = {AB → C, D → E, E → C}
Set 2 cannot derive   AB → E since in set 2 (AB)+ = {A, B, C}
The two sets of functional dependencies are not the same and hence one cannot be minimal of other.

Information about Test: Normal Forms Page
In this test you can find the Exam questions for Test: Normal Forms solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Normal Forms, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)