Question

(30 pts) Given R(a, b, c, d, e) with a key (a,b) and given the following...

(30 pts) Given R(a, b, c, d, e) with a key (a,b) and given the following set of functional dependencies F = { {a, b} → {c, d, e}, b → {d, e} }.
Is R in 1NF? Justify your answer.
Is R in 2NF? Justify your answer.
Is R in 3NF? Justify your answer.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

hello,

let us solve this problem.

R(a, b, c, d, e)

key (a,b)

F = { {a, b} → {c, d, e}, b → {d, e} }

The above set of functional dependencies are in 1NF because each attribute takes a single value.( If any one of the attribute would take more than one value then it should not be in 1NF.) i.,e only one value can be there in a column of the table , for example if a column exists of name phone_number then it should have only one phone number, not more than one phone number. (it is inherited that a column will have only one value unless and until it is not mentioned to have many values).

So it is in 1NF.

Since the key is (a,b) and we have a partial dependency (i.,e we have dependency {b}->{d,e} in which the left hand side attribute is part of the key but not complete key) so the dependencies are not in 2NF.

Since the dependencies are not in 2NF , so it can not be in 3NF . (so no need to check).

i hope i was able to solve your problem to a greater extent, please feel free to comment your queries, Please consider my efforts and upvote my solution.

Thanku:)

Add a comment
Know the answer?
Add Answer to:
(30 pts) Given R(a, b, c, d, e) with a key (a,b) and given the following...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1):- (a)Given F = { a → b, {b, c} → d, {c, d} → e,...

    1):- (a)Given F = { a → b, {b, c} → d, {c, d} → e, {a, b} → d }. What is {a}+ (i.e. the closure of a)? Show your steps to achieve the answer for full credit. (b) Given F = { a → b, b → c, {a, b} → d , {b, c} → a }. What is {b}+ (i.e. the closure of b)? Show your steps to achieve the answer for full credit. 2)(a) given F =...

  • MySQL: Consider the following abstract relational schema: (A, B, C, D, E, F) Now assume the...

    MySQL: Consider the following abstract relational schema: (A, B, C, D, E, F) Now assume the following functional dependencies: A -> B, C, D, E, F C -> B Note: This implies that A is a key. Is this database in 1NF, 2NF, 3NF, or BCNF? Why?

  • Imagine a single poorly-designed table, r(R), with attributes A, B, C, D, E, F, G, H,...

    Imagine a single poorly-designed table, r(R), with attributes A, B, C, D, E, F, G, H, I, J, K, L, M. You’ve looked over the naughty designer’s work and come up with the following logical functional dependencies. A —> {B, D, F}? B —> {G, H, I}? {A, C} —> {E, J, K}? {J, K} —> {L, M} H is a composite attribute group with 3 attributes; H1, H2, H3. H3 is a multivalued attribute. L is a multivalued attribute....

  • Consider relation R = (A,B,C,D,E) for the following: 2. Is R in 2NF with the following...

    Consider relation R = (A,B,C,D,E) for the following: 2. Is R in 2NF with the following functional dependencies? If not, normalize it. [5 points] A→BC -AD → E в с 3. Are the relations from the answer of question 2 in 3NF? If not normalize it. 5 points]

  • For each relation: a) List Functional Dependencies. b) Based on the given primary key, is the...

    For each relation: a) List Functional Dependencies. b) Based on the given primary key, is the relation in 1NF, 2NF, or 3NF? Why or why not? c) Normalize the relation successively into 3NF, if it is not already in 3NF. FACULTY(FacNo, FacName, DeptNo, DeptName, DeptLoc, InsurPlanNo, InsurPlanDesc) ORDER(OrdNo, OrdDate, CustNo, PartNo, Qty, UnitPrice)

  • Consider the following relation R, where {A, B} is its PK. Assume that R is in...

    Consider the following relation R, where {A, B} is its PK. Assume that R is in the first normal form (INF). R (A, B, C, D, E, F) Functional dependencies: FD1: BàC FD2: AàDE FD3: ABàF Why is this table not in 2NF? Specify which FDs make R violate 2NF. Normalize the data shown in this table to second normal form (2NF). Specify the primary and foreign key (if any) in each table of your 3NF relations. Normalize the data...

  • Identify, in the list below, a row in the result. Dragons B) Giants C) Lions D)...

    Identify, in the list below, a row in the result. Dragons B) Giants C) Lions D) Ham Fighters 26. If all function dependencies in a table are "very good" or "bad", the table is in A) 1NF B) 2NF C) 3NF D) BCNF 27·Determine the normal form for the relation R(ABCD) and FD's: AD ? C; D A) 1NF B) 2NF C) BCNF D) 3NF -28. Which of the following is not a candidate key for R(ABCD) FD's: BD ?...

  • Consider the following relation R= {A, B, C, D, E} and the following set of functional...

    Consider the following relation R= {A, B, C, D, E} and the following set of functional dependencies F={ A → BC CD → E B + D E + A} Give a lossless, dependency-preserving decomposition into 3NF of schema R

  • Consider a relation R with five attributes A, B, C, D, and E. You are given...

    Consider a relation R with five attributes A, B, C, D, and E. You are given the following functional dependencies: A → B, BC→E, and ED→A. (a) Is R in BCNF? If it is not, decompose it into a collection of BCNF relations. 2: BCNF and 3NF (3 points) Consider the relation schema R with attributes A, B, C, and D and the following functional dependencies: AB→C, AC→B, B→D, BC→A. (a) Is R in BCNF? If it is not, decompose...

  • Consider the following relation R(A,B,C,D,E,G) and the set of functional dependencies F = { A →...

    Consider the following relation R(A,B,C,D,E,G) and the set of functional dependencies F = { A → BCD BC → DE B → D D → A} Give a 3NF decomposition of the given schema based on a canonical cover

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT