1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
charle [14.2K]
3 years ago
13

Suppose you are given a relation R with four attributes ABCD. For each of the following sets of FDs, assuming those are the only

dependencies that hold for R, do the following: (a) Identify the candidate key(s) for R. (b) Identify the best normal form that R satisfies (1NF, 2NF, 3NF, or BCNF). (c) If R is not in BCNF, decompose it into a set of BCNF relations that preserve the dependencies.
1. C → D, C → A, B → C
2. B → C, D → A
3. ABC → D, D → A
4. A → B, BC → D, A → C
5. AB → C, AB → D, C → A, D → B
Computers and Technology
1 answer:
Mkey [24]3 years ago
8 0

Solution :

1.

a). Candidate keys : $B$

b). R is in $2F$ but not $3NF$

c). C → $D$ and C → $A$, both causes violations of $BCNF$. The way to obtain the join preserving decomposition is to decompose $R$ into $AC, BC$ and CD.

2.

a). Candidate keys : $BD$

b). $R$ is in $1NF$ but not $2NF$.

c). Both B → $C$ and D → $A$ cause $BCNF$ violations. The decomposition : $AD $, $BC, BD$ is $BCNF$ and lossless and the join preserving.

3.

a). Candidate keys : $ABC, BCD$

b). R is in $3NF$ but not $BCNF$

c).$ABCD$ is not in $BCNF$ since D → $A$ and $D$ is not a key. But if we split up the $R$ as $AD,BCD$ therefore we cannot preserve dependency $ABC$ → D. So there is no $BCNF$ decomposition.

4.

a). Candidate keys : $A$

b). R is in $2NF$ but not $3NF$

c). BC → $D$ violates $BCNF$ since $BC$ does not contain the key. And we split up R as in $BCD, ABC$.

5.

a). Candidate keys : $AB, BC, CD, AD$

b). $R$ is in $3NF$ but not $BCNF$.

c). C → $A$ and D → $B$ both causes a violations. The decomposition into $AC,BCD$ but this will not preserve $AB$ → C and $AB$ → D, and $BCD$ is still not $BCNF$ because $D$ → $B$. So we need to decompose further into $AC,BD,CD$ However when we try to revive the lost functional dependencies by adding $ABC$ and $ABD$, we that these relations are not in $BCNF$ form. Therefore, there is no $BCNF$ decomposition.

You might be interested in
Suppose you develop an app and want to generate revenue but do not want to maintain the app. What would be your best choice?
valentinak56 [21]
I think it would be d
6 0
4 years ago
Which line defines a valid CSS rule?
sladkih [1.3K]

Answer:

i beleive its c  

Explanation:

sorry if its wrong thats what i think it is

5 0
3 years ago
Read 2 more answers
Which activity represents a violation of the licensing agreement
kvasek [131]
Could you give the answers it gives you? It should be along the lines of purposeful destruction of equipment.
5 0
4 years ago
Read 2 more answers
1. Bluetooth
Elza [17]

Complete Question:

1. A wireless technology standard for exchanging data over short distances

2. A particular brand of mobile phone/PDA

3. A network that operates over a limited distance, usually for one or a few users

1. Bluetooth

2. PAN

3. Blackberry

Answer:

1. Bluetooth 2. Blackberry . 3. PAN

Explanation:

1. Bluetooth is a wireless technology standard, used in order to exchange data between mobile devices, like smartphones, tablets, headsets, wearables, over short distances in a one-to-one fashion (which means that it is not possible to build a network based in Bluetooth).

2. Blackberry is a brand of mobile phones/PDAs, very popular a decade ago, because it was the first one to allow mobile users to access e-mails and messages from anywhere, at any time.

3. PAN (Personal Area Network) is an ad-hoc network that it is only available for data exchange at a very short distance, within the reach of a person, i.e. a few meters as a maximum.

It is thought to allow someone to interact with his nearest environment (laptop, tablet, PDA) and it can be wireless (like Bluetooth) or wired (via USB cables).

4 0
4 years ago
Help with this pleaseeeeeee​
slavikrds [6]

Answer:

fiber optic because It is thinner than the others in the list

8 0
3 years ago
Other questions:
  • Business ethics are?
    9·1 answer
  • What risks and safeguards are associated with wireless communication? what is “war driving” or “war flying”? are you comfortable
    14·1 answer
  • Describe a function that would take in any RGB value and double its intensity. What do you think happens if the input is 200, 22
    8·1 answer
  • How does a project manager evaluate the scope of a project?
    14·2 answers
  • describe how t - charts and star charts can be used to organize information into cause and effect relationships
    12·2 answers
  • Abigail is writing an email to Justine Swenson, a friend of her best friend, Jane, inviting her to a get-together.
    7·1 answer
  • The length property of the String object returns
    15·1 answer
  • A common practice is to create a(n) _____ on any field that is used as a search key, in comparison operations in a conditional e
    6·1 answer
  • Express 0.0005 x 10-4 farads as picofarads
    5·2 answers
  • John's father specifically asked him to get a magnetic disk from the store in his neighborhood. What should John buy?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!