2-Functional Dependency Lyst6356
2-Functional Dependency Lyst6356
2-Functional Dependency Lyst6356
• There should be at least one Super key with Not Null constraint.
• Biggest Super Key possible in a Relation is a Set comprising all attributes of a Relation
a) 5
E F G H
b) 6
c) 7
d) 8
2. There should be at least one candidate key with Not Null constraint.
4. Candidate key which are not chosen as primary key is alternate key.
I: {B}
II: {B, C}
III: {A, D}
IV: {C, D}
If different symbols stand for different values in the table (e.g., d1 is definitely not equal to d2), then which
of the above could not be the candidate key for the database table?
(a) I and III only
(b) III and IV only
(c) II only
(d) I only
(c) pk(R2) → R1 ∩ R2
(d) pk(R1) → R1 ∩ R2
(a)(1)
(c)(4)
A→B A B C D
B→C
C→A
AB → CD A B C D
D→A
AB → C A B C D E F
C→D
B → AE
AB → C A B C
C→A
AB → C A B C D E F G H I J
A → DE
B→F
F → GH
D → IJ
AB → C
A B C D E F G H I J
AD → GH
BD → EF
A→I
H→J
CE → D A B C D E
D→B
C→A
A → BC A B C D E F G H
ABE → CDGH
C → GD
D→G
E→F
To access all paid content get KG Prime at ₹25/day CLICK HERE
Q R(ABCDE)
A→B A B C D E
BC → E
DE → A
AB → CD A B C D
C→A
D→B
A→B A B C D E
BC → E
DE → A
AB → CD A B C D E
D→A
BC → DE
BC → ADE A B C D E
D→B
AB → C A B C D E F
DC → AE
E→F
AB → C A B C D E F
C→D
D → BE
E→F
F→A
To access all paid content get KG Prime at ₹25/day CLICK HERE
Q R(WXYZ)
Z→W W X Y Z
Y → XZ
XW → Y
Z→Y V W X Y Z
Y→Z
X → YV
VW → X
ABC → D A B C D E F
ABD → E
CD → F
CDF → B
BF → D
A → BC A B C D E
CD → E
B→D
E→A
A → BCDEF A B C D E F
BC → ADEF
DEF → ABC
A B C D E F
a) AE and BE
b) AE, BE and DE
List-I List-II
(1) Entity integrity (i) enforces some specific business rule that do not fall into entity or domain
(2) Domain integrity (ii) Rows can’t be deleted which are used by other records
(3) Referential integrity (iii) enforces valid entries for a column
(4) User defined integrity (iv) No duplicate rows in a table
(b) AB
A B C D E F G
(c) ABC
(d) ABD
a) XW
c) YUV, XV and WV
d) None of these
(B) EC A B C D E F
(C) AE
(D) AC
(A) A
(B) AE
A B C D E
(C) BE
(D) CE
A) {E, F}
E F G I J K L M N
B) {E, F, H}
C) {E, F, H, K, L}
D) {E}
For (StudentName, StudentAge) to be the key for this instance, the value X should
not be equal to______________ (GATE- 2014) (1 Marks)
(B) 4
A B C D E F G H
(C) 5
(D) 6
List-I List-II
(1) Determinants (a) No attribute can be added
(2) Candidate key (b) Uniquely identified a row
(3) Non-redundancy (c) A constraint between two attributes
(4) Functional dependency (d) Group of attributes on the left-hand side of arrow of function dependency.
(A) 1 – d, 2 – b, 3 – a, 4 – c (B) 2 – d, 3 – a, 1 – b, 4 – c
(C) 4 – a, 3 – b, 2 – c, 1 – d (D) 3 – a, 4 – b, 1 – c, 2 – d
(A) A
(B) AC
A B C D E F
(C) AD
(A) AE, BE
A B C D E H
(B) AE, BE, DE
A B C D E F
b) 3
c) 4
d) 5