GateAI
Integrity Constraints and Normal Forms

GATE CSE 2026 Set 1 · Q30

MSQ1 markEasy

Time

Let P,Q,RP, Q, R and SS be the attributes of a relation in a relational schema. Let X→YX \rightarrow 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?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: C) If ( {P} → {R} and {Q} → {S} ), then {P, Q} → {R, S}; D) If {P} → {R}, then {P, Q} → {R}

Integrity Constraints and Normal Forms

We can verify each option using Armstrong's Axioms and standard inference rules for functional dependencies:

  • Option (A): If {P,Q}→{R}\{P, Q\} \rightarrow \{R\} and {P}→{R}\{P\} \rightarrow \{R\}, then {Q}→{R}\{Q\} \rightarrow \{R\}. This is not always true. For example, in relation R(P,Q,R)R(P, Q, R) where PP is a primary key, P→RP \rightarrow R holds, but attribute QQ may be completely independent of RR.

  • Option (B): If {P,Q}→{R}\{P, Q\} \rightarrow \{R\}, then ({P}→{R} or {Q}→{R})(\{P\} \rightarrow \{R\} \text{ or } \{Q\} \rightarrow \{R\}). This is not always true. A composite determinant does not imply that any proper subset of it determines the attribute (e.g., in a minimal superkey consisting of {P,Q}\{P, Q\}).

  • Option (C): If ({P}→{R} and {Q}→{S})(\{P\} \rightarrow \{R\} \text{ and } \{Q\} \rightarrow \{S\}), then {P,Q}→{R,S}\{P, Q\} \rightarrow \{R, S\}. This is always true (Composition Rule):

    • By augmentation of P→RP \rightarrow R with QQ: {P,Q}→{R,Q}\{P, Q\} \rightarrow \{R, Q\}

    • By augmentation of Q→SQ \rightarrow S with RR: {R,Q}→{R,S}\{R, Q\} \rightarrow \{R, S\}

    • By transitivity: {P,Q}→{R,S}\{P, Q\} \rightarrow \{R, S\}.

  • Option (D): If {P}→{R}\{P\} \rightarrow \{R\}, then {P,Q}→{R}\{P, Q\} \rightarrow \{R\}. This is always true (Augmentation / Generalization Rule):

    • Augmenting P→RP \rightarrow R with QQ yields {P,Q}→{P,R}\{P, Q\} \rightarrow \{P, R\} or {P,Q}→{R,Q}\{P, Q\} \rightarrow \{R, Q\}.

    • By decomposition, {P,Q}→{R}\{P, Q\} \rightarrow \{R\}.

Thus, statements C and D are always true.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Integrity Constraints and Normal Forms previous year question is Q30 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Integrity Constraints and Normal Forms in Databases, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Integrity Constraints and Normal Forms PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Integrity Constraints and Normal Forms in GATE CSE

Integrity Constraints and Normal Forms has 30 GATE CSE PYQs across 20 papers from 2011 to 2026. 3 of them are 1-mark MSQs like this one, and GATE CSE 2026 Set 1 has 3.

How GATE tests Integrity Constraints and Normal Forms

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q30 · 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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.