Skip to content
GATEiit

GATE CSE 2019 Q42: BCNF and dependency preservation of decomposing PQRS into PR and QRS

Syllabus topic: Integrity constraints and normal forms

Question

Let the set of functional dependencies F={QR→S, R→P, S→Q} hold on a relation schema X=(PQRS). X is not in BCNF. Suppose X is decomposed into two schemas Y and Z, where Y=(PR) and Z=(QRS).

Consider the two statements given below.

I. Both Y and Z are in BCNF

II. Decomposition of X into Y and Z is dependency preserving and lossless

Which of the above statements is/are correct?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: C (official GATE 2019 final answer key)

Concept used: A schema is in BCNF if every non-trivial FD has a superkey on its left; a binary decomposition is lossless if the common attributes are a key of one part, and dependency preserving if each FD can be checked within one part.

Concept notes

Loading notes…

First step: Project the FDs onto Z = (QRS) and check whether the left side of S→Q is a superkey of Z; then test the common attribute R of Y and Z, and see which part each FD falls into.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Integrity constraints and normal forms

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key