GateAI
Integrity Constraints and Normal Forms

GATE CSE 2017 Set 1 · Q16

MCQ1 markMedium

Time

The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}R\{V, W, X, Y, Z\}: V→WVW→XY→VXY→Z\begin{aligned} V &\to W VW &\to X Y &\to VX Y &\to Z \end{aligned} Which of the following is irreducible equivalent for this set of functional dependencies?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) V → W V → X Y → V Y → Z

Integrity Constraints and Normal Forms

To find the irreducible equivalent (canonical / minimal cover) of the given set of functional dependencies FF:

  1. Decompose the right-hand side (RHS) to single attributes:

    • V→WV \to W

    • VW→XVW \to X

    • Y→VY \to V

    • Y→XY \to X

    • Y→ZY \to Z

  2. Check for extraneous attributes on the left-hand side (LHS):

    • In VW→XVW \to X, test if WW is extraneous: Compute the attribute closure of VV under the remaining dependencies:

      V+={V,W}V^+ = \{V, W\}

      Since W∈V+W \in V^+, attribute WW is extraneous in VW→XVW \to X. Replace VW→XVW \to X with V→XV \to X.

    The FD set becomes:

    {V→W,  V→X,  Y→V,  Y→X,  Y→Z}\{V \to W,\; V \to X,\; Y \to V,\; Y \to X,\; Y \to Z\}
  3. Remove redundant functional dependencies:

    • Test Y→XY \to X: Compute Y+Y^+ using the other dependencies {V→W,V→X,Y→V,Y→Z}\{V \to W, V \to X, Y \to V, Y \to Z\}:

      Y+={Y}→Y→V{Y,V}→V→X{Y,V,X}…Y^+ = \{Y\} \xrightarrow{Y \to V} \{Y, V\} \xrightarrow{V \to X} \{Y, V, X\} \dots

      Since X∈Y+X \in Y^+, Y→XY \to X is redundant and can be eliminated.

    • Testing the remaining FDs shows that none of V→WV \to W, V→XV \to X, Y→VY \to V, or Y→ZY \to Z is redundant.

Hence, the minimal/irreducible cover is:

{V→W,  V→X,  Y→V,  Y→Z}\{V \to W,\; V \to X,\; Y \to V,\; Y \to Z\}

This matches option A.

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

How GATE tests Integrity Constraints and Normal Forms

More from GATE CSE 2017 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2017 Set 1 · Q16 · MCQ

The following functional dependencies hold true for the relational schema R{V, W, X, Y, Z}: V &→ W VW &→ X Y &→ VX Y &→ Z Which of the following is irreducible equivalent for this set of functional dependencies?

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.