Relational Design questions — page 1 of 2

Q30

GATE CS 2026 CS-1Relational DesignMSQ1 mark
Let P,Q,RP, Q, R and SS be the attributes of a relation in a relational schema. Let X⟶YX \longrightarrow Y indicate functional dependency in the context of a relational database, where X,Y⊆{P,Q,R,S}X, Y \subseteq \{P, Q, R, S\}.

Which of the following options is/are always true?
More than one option can be correct.
Show answer without attempting

Answer: C, D

Q31

GATE CS 2026 CS-1Relational DesignMSQ1 mark
In the context of relational database normalization, which of the following statements is/are true?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q65

GATE CS 2026 CS-1Relational DesignNAT2 marks
Consider a relational database schema with a relation R(A,B,C,D)R(A, B, C, D). If {A,B}\{A, B\} and {A,C}\{A, C\} are the only two candidate keys of the relation RR, then the number of superkeys of relation RR is ______. (answer in integer)
Show answer without attempting

Answer: 6

Q42

GATE CS 2026 CS-2Relational DesignMCQ2 marks−2/3 if wrong
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 XX, YY, and ZZ as sets of attributes over a relational schema. The three rules of Armstrong’s Axioms are described as follows.

Reflexivity: If Y⊆XY \subseteq X, then X→YX \rightarrow Y

Augmentation: If X→YX \rightarrow Y, then XZ→YZXZ \rightarrow YZ for any Z

Transitivity: If X→YX \rightarrow Y and Y→ZY \rightarrow Z, then X→ZX \rightarrow Z

The additional rule of Union is defined as follows.

Union: If X→YX \rightarrow Y and X→ZX \rightarrow Z, then X→YZX \rightarrow 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 ?
Show answer without attempting

Answer: D

Q47

GATE CS 2025 CS-1Relational DesignMSQ2 marks
Consider a relational schema team(name,city,owner)team(name, city, owner), with functional dependencies {name→city,name→owner}\{name \rightarrow city, name \rightarrow owner\}.
The relation teamteam is decomposed into two relations, t1(name,city)t1(name, city) and t2(name,owner)t2(name, owner). Which of the following statement(s) is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q46

GATE CS 2025 CS-2Relational DesignMSQ2 marks
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}R1(A, B, C, D, E): \{D \rightarrow E, EA \rightarrow B, EB \rightarrow C\}
R2(A,B,C,D):{A→D,A→B,C→A}R2(A, B, C, D): \{A \rightarrow D, A \rightarrow B, C \rightarrow A\}

Which of the following statement(s) is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: C, D

Q22

GATE CS 2024 CS-1Relational DesignMSQ1 mark
Which of the following statements about a relation R in first normal form (1NF) is/are TRUE ?
More than one option can be correct.
Show answer without attempting

Answer: A, C

Q44

GATE CS 2024 CS-1Relational DesignMSQ2 marks
The symbol →\to indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C, D

Q56

GATE CS 2024 CS-2Relational DesignNAT2 marks
A functional dependency F:X→YF: X \to Y is termed as a useful functional dependency if and only if it satisfies all the following three conditions:
- XX is not the empty set.
- YY is not the empty set.
- Intersection of XX and YY is the empty set.

For a relation RR with 4 attributes, the total number of possible useful functional dependencies is ________
Show answer without attempting

Answer: 50

Q14

GATE CS 2022 CSRelational DesignMCQ1 mark−1/3 if wrong
In a relational data model, which one of the following statements is TRUE?
Show answer without attempting

Answer: A

Q31

GATE CS 2022 CSRelational DesignNAT1 mark
Consider a relation R(A,B,C,D,E)R(A, B, C, D, E) with the following three functional dependencies.

AB→CAB \to C; BC→DBC \to D; C→EC \to E;

The number of superkeys in the relation R is _____________.
Show answer without attempting

Answer: 8

Q33

GATE CS 2021 CS-1Relational DesignMCQ2 marks−2/3 if wrong
Consider the relation R(P,Q,S,T,X,Y,Z,W)R(P, Q, S, T, X, Y, Z, W) with the following functional dependencies.
PQ→X; P→YX; Q→Y; Y→ZWPQ \to X;\ P \to YX;\ Q \to Y;\ Y \to ZW
Consider the decomposition of the relation RR into the constituent relations according to the following two decomposition schemes.
D1D_1: R=[(P,Q,S,T); (P,T,X); (Q,Y); (Y,Z,W)]R = [(P, Q, S, T);\ (P, T, X);\ (Q, Y);\ (Y, Z, W)]
D2D_2: R=[(P,Q,S); (T,X); (Q,Y); (Y,Z,W)]R = [(P, Q, S);\ (T, X);\ (Q, Y);\ (Y, Z, W)]
Which one of the following options is correct?
Show answer without attempting

Answer: A

Q40

GATE CS 2021 CS-2Relational DesignMSQ2 marks
Suppose the following functional dependencies hold on a relation U with attributes P,Q,R,SP, Q, R, S, and TT:

<br>P→QR<br>RS→T<br>\begin{aligned}<br>P & \to QR \\<br>RS & \to T<br>\end{aligned}

Which of the following functional dependencies can be inferred from the above functional dependencies?
More than one option can be correct.
Show answer without attempting

Answer: A, C, D

Q36

GATE CS 2020 CSRelational DesignMCQ2 marks−2/3 if wrong
Consider a relational table RR that is in 3NF, but not in BCNF. Which one of the following statements is TRUE?
Show answer without attempting

Answer: A

Q32

GATE CS 2019 CSRelational DesignMCQ2 marks−2/3 if wrong
Let the set of functional dependencies F={QR→S,R→P,S→Q}F = \{QR \to S, R \to P, S \to Q\} hold on a relation schema X=(PQRS)X = (PQRS). XX is not in BCNF. Suppose XX is decomposed into two schemas YY and ZZ, where Y=(PR)Y = (PR) and Z=(QRS)Z = (QRS).

Consider the two statements given below.
I. \quad Both YY and ZZ are in BCNF
II. \quad Decomposition of XX into YY and ZZ is dependency preserving and lossless

Which of the above statements is/are correct?
Show answer without attempting

Answer: C

Q42

GATE CS 2018 CSRelational DesignMCQ2 marks−2/3 if wrong
Consider the following four relational schemas. For each schema, all non-trivial functional dependencies are listed. The underlined attributes are the respective primary keys.

Schema I: Registration (rollno‾\underline{\text{rollno}}, courses)
Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.
Non-trivial functional dependency:
rollno →\to courses

Schema II: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, email)
Non-trivial functional dependencies:
rollno, courseid →\to email
email →\to rollno

Schema III: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, marks, grade)
Non-trivial functional dependencies:
rollno, courseid →\to marks, grade
marks →\to grade

Schema IV: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, credit)
Non-trivial functional dependencies:
rollno, courseid →\to credit
courseid →\to credit

Which one of the relational schemas above is in 3NF but not in BCNF?
Show answer without attempting

Answer: B

Q16

GATE CS 2017 CS-1Relational DesignMCQ1 mark−1/3 if wrong
The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}R\{V, W, X, Y, Z\}:

V→WV \to W
VW→XVW \to X
Y→VXY \to VX
Y→ZY \to Z

Which of the following is irreducible equivalent for this set of functional dependencies?
Show answer without attempting

Answer: A

Q19

GATE CS 2017 CS-2Relational DesignNAT1 mark
Consider the following tables T1 and T2.

T1:
PQ
22
38
73
58
69
85
98
T2:
RS
22
83
32
97
57
72
In table T1, P\mathbf{P} is the primary key and Q\mathbf{Q} is the foreign key referencing R\mathbf{R} in table T2 with on-delete cascade and on-update cascade. In table T2, R\mathbf{R} is the primary key and S\mathbf{S} is the foreign key referencing P\mathbf{P} in table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8)(3,8) from table T1, the number of additional records that need to be deleted from table T1 is ____________.
Show answer without attempting

Answer: 0.0

Q21

GATE CS 2016 CS-1Relational DesignMCQ1 mark−1/3 if wrong
Which of the following is NOT a superkey in a relational schema with attributes V,W,X,Y,ZV, W, X, Y, Z and primary key VYVY?
Show answer without attempting

Answer: B

Q23

GATE CS 2016 CS-1Relational DesignMCQ1 mark−1/3 if wrong
A database of research articles in a journal uses the following schema.
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, YEAR, PRICE)
The primary key is (VOLUME, NUMBER, STARTPAGE, ENDPAGE) and the following functional dependencies exist in the schema.
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) →\to TITLE
(VOLUME, NUMBER) →\to YEAR
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) →\to PRICE
The database is redesigned to use the following schemas.
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, PRICE)
(VOLUME, NUMBER, YEAR)
Which is the weakest normal form that the new database satisfies, but the old one does not?
Show answer without attempting

Answer: B

0/200 correct0 marks

Related topics in Databases