994 views
2 votes
2 votes
Let R be a relation. Which options are correct

a)R will necessarily have a composite key  if R is in BCNF  but not in 4NF

b) If R is in 3NF and if every key of R is simple, then R is in BCNF

c) If R is in BCNF and if R has at least one simple key , then R is in 4NF

d) If R is in 3NF and if its every key  is simple, then R is in 5NF

1 Answer

0 votes
0 votes

Option B is right option

BCNF is stricter than 3NF. A table is BCNF if it is in 3NF and for every FD  X->Y, X should be the super key of the table.

Consider a relation R X->Y, Since R is in 3NF, either

  1. X is a superkey or
  2. Y is a member of a key

Since every key in R is simple, Y has only one attribute and Y itself is a key, which implies that X is always a superkey. Therefore, X->Y does not violate BCNF in either case, which implies that R is in BCNF.

Related questions

0 votes
0 votes
2 answers
1
1 votes
1 votes
1 answer
3
Deepakdawson asked Nov 13, 2018
243 views
Hello, I know this type of question has been asked but I am not getting this. I have a confusion in FD bc->d should it be in 2nd normal form or not.R={a,b,c,d} FD={ab->c,...
0 votes
0 votes
0 answers
4
Na462 asked Oct 21, 2018
1,006 views