GateAI
Integrity Constraints and Normal Forms

GATE CSE 2015 Set 3 · Q20

MCQ1 markEasy

Time

Consider the relation X(P,Q,R,S,T,U)X(P, Q, R, S, T, U) with the following set of functional dependencies F={{P,R}→{S,T},{P,S,U}→{Q,R}}F = \{ \{P, R\} \rightarrow \{S, T\}, \{P, S, U\} \rightarrow \{Q, R\} \} Which of the following is the trivial functional dependency in F+F^+, where F+F^+ is closure of FF ?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) {P, S} → {S}

Integrity Constraints and Normal Forms

A functional dependency Y→ZY \rightarrow Z is defined as trivial if and only if the right-hand side is a subset of the left-hand side (Z⊆YZ \subseteq Y).

Let us check each option:

  • (A) {P,R}→{S,T}\{P, R\} \rightarrow \{S, T\}: Here, $\{S, T\}

ot\subseteq \{P, R\}$, so it is non-trivial.

  • (B) {P,R}→{R,T}\{P, R\} \rightarrow \{R, T\}: Here, $\{R, T\}

ot\subseteq \{P, R\}(since (since T \notin \{P, R\}$), so it is semi-trivial / non-trivial.

  • (C) {P,S}→{S}\{P, S\} \rightarrow \{S\}: Here, {S}⊆{P,S}\{S\} \subseteq \{P, S\}, which satisfies the exact definition of a trivial functional dependency.

  • (D) {P,S,U}→{Q}\{P, S, U\} \rightarrow \{Q\}: Here, $\{Q\}

ot\subseteq \{P, S, U\}$, so it is non-trivial.

Therefore, option (C) is the trivial functional dependency in F+F^+.

Hence, the correct option is (C).

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 Q20 of the GATE CSE 2015 Set 3 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. 10 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2015 Set 3.

How GATE tests Integrity Constraints and Normal Forms

More from GATE CSE 2015 Set 3

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 3 · Q20 · MCQ

Consider the relation X(P, Q, R, S, T, U) with the following set of functional dependencies F = { {P, R} → {S, T}, {P, S, U} → {Q, R} } Which of the following is the trivial functional dependency in F+, where F+ is closure of F ?

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.