Question 1 · Databases · 2026_Set2
MCQ
In the context of schema normalization in relational DBMS, consider a set F of functional dependencies. The set of all functional dependencies implied by F is called the closure of F. To compute the closure of F, Armstrong’s Axioms can be applied. Consider X, Y, and Z as sets of attributes over a relational schema. The three rules of Armstrong’s Axioms are described as follows.
Reflexivity: If Y⊆X, then X→Y
Augmentation: If X→Y, then XZ→YZ for any Z
Transitivity: If X→Y and Y→Z, then X→Z
The additional rule of Union is defined as follows.
Union: If X→Y and X→Z, then X→YZ
It can be proved that the additional rule of Union is also implied by the three rules of Armstrong’s Axioms. Listed below are four combinations of these three rules. Which one of these combinations is both necessary and sufficient for the proof ?
- A.
Reflexivity, Augmentation, and Transitivity
- B.
Reflexivity and Augmentation
- C.
Transitivity
- D.
Augmentation and Transitivity
Question 2 · Databases · 2026_Set1
NAT
Consider a relational database schema with a relation R(A,B,C,D). If {A,B} and {A,C} are the only two candidate keys of the relation R, then the number of superkeys of relation R is ______. (answer in integer)
Question 3 · Databases · 2026_Set1
MSQ
Let P, Q, R and S be the attributes of a relation in a relational schema. Let X⟶Y indicate functional dependency in the context of a relational database, where X,Y⊆{P,Q,R,S}.
Which of the following options is/are always true?
- A.
If ( {P,Q}⟶{R} and {P}⟶{R} ), then {Q}⟶{R}
- B.
If {P,Q}⟶{R}, then ( {P}⟶{R} or {Q}⟶{R} )
- C.
If ( {P}⟶{R} and {Q}⟶{S} ), then {P,Q}⟶{R,S}
- D.
If {P}⟶{R}, then {P,Q}⟶{R}
Question 4 · Databases · 2026_Set1
MSQ
In the context of relational database normalization, which of the following statements is/are true?
- A.
It is always possible to obtain a dependency-preserving 3NF decomposition of a relation
- B.
It is always possible to obtain a dependency-preserving 1NF decomposition of a relation
- C.
It is not always possible to obtain a dependency-preserving BCNF decomposition of a relation
- D.
It is not always possible to obtain a dependency-preserving 2NF decomposition of a relation
Question 5 · Databases · 2025_Set2
MSQ
Consider the following relational schema along with all the functional dependencies that hold on them.
R1(A,B,C,D,E):{D→E, EA→B, EB→C}
R2(A,B,C,D):{A→D, A→B, C→A}
Which of the following statement(s) is/are TRUE?
- A.
R1 is in 3NF
- B.
R2 is in 3NF
- C.
R1 is NOT in 3NF
- D.
R2 is NOT in 3NF
Question 6 · Databases · 2025_Set1
MSQ
Consider a relational schema team(name,city,owner), with functional dependencies {name→city,name→owner}.
The relation team is decomposed into two relations, t1(name,city) and t2(name,owner). Which of the following statement(s) is/are TRUE?
- A.
The relation team is NOT in BCNF.
- B.
The relations t1 and t2 are in BCNF.
- C.
The decomposition constitutes a lossless join.
- D.
The relation team is NOT in 3NF.
Question 7 · Databases · 2024_Set2
NAT
A functional dependency F:X→Y is termed as a useful functional dependency if and only if it satisfies all the following three conditions:
• X is not the empty set.
• Y is not the empty set.
• Intersection of X and Y is the empty set.
For a relation R with 4 attributes, the total number of possible useful functional dependencies is __________
Question 8 · Databases · 2024_Set1
MSQ
The symbol → indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?
- A.
(X,Y)→(Z,W) implies X→(Z,W)
- B.
(X,Y)→(Z,W) implies (X,Y)→Z
- C.
((X,Y)→Z and W→Y) implies (X,W)→Z
- D.
(X→Y and Y→Z) implies X→Z
Question 9 · Databases · 2024_Set1
MSQ
Which of the following statements about a relation R in first normal form (1NF) is/are TRUE ?
- A.
R can have a multi-attribute key
- B.
R cannot have a foreign key
- C.
R cannot have a composite attribute
- D.
R cannot have more than one candidate key
Question 10 · Databases · 2022
NAT
Consider a relation R(A,B,C,D,E) with the following three functional dependencies.
AB→C;BC→D;C→E;
The number of superkeys in the relation R is ____________.