0% found this document useful (0 votes)
5 views12 pages

Relational Model and Normal Forms _ DPP 02 Discussion Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views12 pages

Relational Model and Normal Forms _ DPP 02 Discussion Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

CS & IT

ENGINEERING
Database Management
System
Relational model and Normal forms

DPP-02 Discussion Notes By- Rohit Chauhan sir


[MCQ]

#Q. Consider the set of functional dependencies for a relation


R (D, N, C, S)
{D  N, D  C, D  S, C  S}
Then choose the correct statement regarding the above set.

A {D} is the super key for the relation.

B {DN} is the candidate key for the relation.

C {DC} is the candidate key for the relation.

D {CN} is the superkey for the relation.


[NAT]

#Q. Consider the given FD set for relation


R (X, Y, Z, W, U, V)
{X  Y, YZ  W, U  Z, W  X}
Then the number of prime attributes for the relation are?
[MCQ]

#Q. Consider the relation R (P, Q, R, S, T) and the set of function dependencies F
= {PQ, QRT, TSP}. Which of the following is not the candidate key of
R?

A RST B PRS

C QRS D PQR
[NAT]

#Q. Assume a relation R (P, Q, R, S, T) with the set of functional dependencies


{PQ, QR, RQ and QT}. How many candidate keys are possible in R?
[MSQ]

#Q. Consider a schema with attributes A, B, C, D & E following set of functional


dependencies are given,
AB
AC
CDE
BD
EA
Which of the following functional dependencies is implied by the above set?

A CDAC B BCCD

C ACBC D BDCD
[MCQ]

#Q. Consider the following two sets of functional dependencies


X = {P  Q, Q  R, R  P, P  R, R  Q, Q  P}
Y = {P  Q, Q  R, R  P}
Which of the following is true?

A XY B YX

C XY D None of the above


[MCQ]

#Q. Consider the relation schema R(P, Q, R, S, T, U, V, W, X, Y) and the set of


functional dependencies on R are:
F = {PQ  R, Q  TU, PS  VW, V  X, W  Y}. Which of the following can
be the candidate key for R?

A PQT B PQS

C PQSR D PQSVW
[MCQ]

#Q. Consider the following FD sets:


S1 = {P  R, PR  S, T  PS, T  U}
S2 = {P  S, QR  PS, R  Q, T  P, T  S, T  U}
S3 = {P  S, R  P, R  Q, T  PU}
Which of the following sets is equivalent?

A S1  S2 B S 2  S3

C S1  S3 D S 1  S2  S3
[NAT]

#Q. Assume the relation R that has eight attributes ABCDEFGH.


Let A = {CHG, ABC, BCFH, EA, FEG} is a set of
functional dependencies (FD). How many candidates key does the relation
R have? _______.
[MCQ]

#Q. Assume the relation schema R(P, Q, R, S, T, U, V, W, X, Y) and the set of


functional dependencies on R:
F = {PQR, QUV, PTWX, WY, XS}.
Which of the following can be candidate key for R?

A PQU B PQT

C PQTR D PQTWX
THANK - YOU

You might also like