Question

For the following relations, do the following: a) What are all the nontrivial FD’s that follow...

For the following relations, do the following:

a) What are all the nontrivial FD’s that follow from the given FD’s? You should restrict yourself to FD’s with single attributes on the right side.

b) What are all the keys of R?

c) What are all the superkeys for R that are not keys?

i) S(A, B, C, D) with FD’s A --> B, B --> C, and B --> D.

ii) T(A, B, C, D) with FD’s AB --> C, BC --> D, CD --> A, and AD --> B.

Homework Answers

Answer #1

i)

The non trivial Functional Dependency are :

A -> C

A -> D

Take closure of A : A+ = {A, B, C, D}

Therefore primary key for the given relation is {A}

All the super keys possible are:

(AB) (AC) (AD) (ABC) (ABD) (ACD) (ABCD)

Super keys are formed by adding non key attributes to keys.

ii)

The non trivial functional dependency is

AB -> D

AD -> C

BC -> A

CD -> B

ABC -> D

BCD -> A

CDA -> B

Take closure of AB : {AB}+ = { A, B, C, D}

{BC}+ = {B, C, D, A}

{CD} + = {C, D, A, B}

Therefore keys for the given relation is (AB) (BC) (CD)

The superkeys on the given relation are

(ABC)

(ABD)

(BCD)

(CDA)

If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks

Know the answer?
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
Similar Questions
You run a four-factor factorial experiment. What are the significant effects? Select all that apply. (1)...
You run a four-factor factorial experiment. What are the significant effects? Select all that apply. (1) 378 a 416 b 381 ab 448 c 372 ac 390 bc 385 abc 430 d 380 ad 415 bd 371 abd 446 cd 378 acd 392 bcd 376 abcd 429 Question 3 options: A B AB C AC BC ABC D AD BD ABD CD ACD BCD ABCD
5. Suppose that the incenter I of ABC is on the triangle’s Euler line. Show that...
5. Suppose that the incenter I of ABC is on the triangle’s Euler line. Show that the triangle is isosceles. 6. Suppose that three circles of equal radius pass through a common point P, and denote by A, B, and C the three other points where some two of these circles cross. Show that the unique circle passing through A, B, and C has the same radius as the original three circles. 7. Suppose A, B, and C are distinct...
You run a four-factor factorial experiment. What are the significant effects? Select all that apply. (1)...
You run a four-factor factorial experiment. What are the significant effects? Select all that apply. (1) 378 a 416 b 381 ab 448 c 372 ac 390 bc 385 abc 430 d 380 ad 415 bd 371 abd 446 cd 378 acd 392 bcd 376 abcd 429
A five-sided closed field traverse has the following distances in feet: AB = 647.25; BC =...
A five-sided closed field traverse has the following distances in feet: AB = 647.25; BC = 203.03; CD = 720.35; and DE = 610.24; and EA = 285.13. The interior angles are as follows (measured as angles to the right): A = 100º 45' 37"; B = 231º 23' 43"; C = 17º 12' 59"; D = 89º 03' 28"; and E = 101º 34' 24". The bearing of AB is S 53º 04' 43" E. Determine the bearings of...
41. Suppose a is a number >1 with the following property: for all b, c, if...
41. Suppose a is a number >1 with the following property: for all b, c, if a divides bc and a does not divide b, then a divides c. Show that a must be prime. 44. Prove that for all numbers a, b, m, if (a, m) = 1 and (b, m) = 1, then (ab, m) = 1. 46. Prove that for all numbers a, b, if d = (a, b) and ra + sb = d, then (r,...
i have the following problem boolean simplfication A'BC' + BC + AB'C' +AB'C I can do...
i have the following problem boolean simplfication A'BC' + BC + AB'C' +AB'C I can do it two different ways factor AB' out of the 3rd and 4rth terms giving me A'B'C' +BC + AB'(C'+C) then using the boolean rules that says C'+ C =1 and the rule that says anything anded with 1 is it's self i have A'B'C' + BC + AB' comuntive law AB' + A'B'C + BC now factoring B' out of the first two terms...
Here are two relations: R(A,B): {(0, 1), (2,3), (0, 1), (2,4), (3,4)} S(B, C): {(0, 1),...
Here are two relations: R(A,B): {(0, 1), (2,3), (0, 1), (2,4), (3,4)} S(B, C): {(0, 1), (2, 4), (2, 5), (3, 4), (0, 2), (3, 4)} Compute the following: a) 11'A+B.A2,B2(R); b) 71'B+l,C-l(S); c) TB,A(R); d) TB,c(S); e) J(R); f) J(S); g) /A, SUM(Bj(R); h) IB.AVG(C)(S'); ! i) !A(R); ! j) IA,MAX(C)(R t:><1 S); k) R ~L S; I) R ~H S; m) R ~ S; n) R ~R.B<S.B S. I want to know the solution for j to m
Please answer the following question and explain what answer is right and why the other answers...
Please answer the following question and explain what answer is right and why the other answers are wrong. which ground state atom or ion has the electron configuration of [Kr] 5s2 4d10? I Cd II Sn2+ A Both I and II B Only I C Only II D Niether I or II
Suppose we have the following relation R with composite primary key {A,B} together with the set...
Suppose we have the following relation R with composite primary key {A,B} together with the set FD of functional dependencies: R(A,B,C,D,E,F,G). FD = { C -> G, E -> B, A -> D, AB -> C, AB -> D, AB -> E. AB -> F, AB -> G } Draw the initial dependency diagram using the above information. The relation from part a) is in first normal form. Using the techniques described in the lecture, convert it to 2NF by...
Consider the following set S = {(a,b)|a,b ∈ Z,b 6= 0} where Z denotes the integers....
Consider the following set S = {(a,b)|a,b ∈ Z,b 6= 0} where Z denotes the integers. Show that the relation (a,b)R(c,d) ↔ ad = bc on S is an equivalence relation. Give the equivalence class [(1,2)]. What can an equivalence class be associated with?