edited by
15,310 views
41 41 votes

Let $R (A, B, C, D, E, P, G)$ be a relational schema in which the following functional depen­dencies are known to hold: $AB \to CD, DE \to P, C \to E, P \to C$ and $B \to G.$ The relational schema $R$ is

  1. in $\text{BCNF}$
  2. in $\text{3NF}$, but not in $\text{BCNF}$
  3. in $\text{2NF}$, but not in $\text{3NF}$
  4. not in $\text{2NF}$

7 Answers

Best answer
62 62 votes
Answer: $D$

Here $AB$ is the candidate key and $B \rightarrow G$ is a partial dependency. So, $R$ is not in $\text{2NF}$.
edited by
15 15 votes

not in 2NF because here candidate key is AB and in FD's proper subset of C.K. determine the non prime attribute i.e. B→G



0 0 votes
AB={A,B,C,D,E,P,G}

Hence AB is candidate key

whereas, $B \rightarrow G$ is having relation of Super Key deriving Non-prime. Which means it doesn't satisfy condition of 2NF.
0 0 votes

BEST ANSWER

R(A, B, C, D, E, P,G)

AB------>CD

DE------>P

C------>E

P------>C

B------>G

FIND CANDIDATE KEY :- Trick --> Write all attributes which are not present on RHS of above FD.

AB not present on RHS of a relation so it must be partof CK.

Check Closre of AB---> ABCDEPG        Since all attributes comin g so it is minimal CK 

so CK=  AB

NON PRIME / NON KEY ATTRIBUTE = CDEPG

Proper subset of CK= A, B

VOILATION CONDITION OF 2NF

Proper Subset of CK----> Non Key attribute 

B------>G     (it is voilation of 2NF)

So not in 2NF 

If Relation is not in 2NF then it cannot be in 3NF and BCNF.

 

Answer:
Position:
Show:

Related questions

140 140 votes
5 answers 5 answers
51.1k
51.1k views
Ishrat Jahan asked Oct 28, 2014
51,149 views
Let $R (A, B, C, D)$ be a relational schema with the following functional dependencies :$A → B$, $B → C$, $C → D$ and $D → B$. The decomposition of $R$ into $(A, B), (B, ...
70 70 votes
10 answers 10 answers
26.3k
26.3k views
Ishrat Jahan asked Oct 29, 2014
26,323 views
Consider the following relational schema:$\text{Student} (\underline{\text{school-id}, \text{sch-roll-no}}, \text{sname}, \text{saddress})$$\text{School} (\underline{\tex...
68 68 votes
7 answers 7 answers
29.3k
29.3k views
Ishrat Jahan asked Oct 29, 2014
29,261 views
Consider the following relational schema:$\text{Student} (\underline{\text{school-id}, \text{sch-roll-no}}, \text{sname}, \text{saddress})$$\text{School} (\underline{\tex...
65 65 votes
10 answers 10 answers
27.5k
27.5k views
Ishrat Jahan asked Oct 28, 2014
27,498 views
Consider the following three schedules of transactions T1, T2 and T3. [Notation: In the following NYO represents the action Y (R for read, W for write) performed by trans...