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
gogolik [260]
3 years ago
10

Suppose we have a database for an investment firm, consisting of the following attributes: B (broker), O (office of a broker), I

(investor), S (stock), Q (quantity of stock owned by an investor), and D (dividend paid by a stock), with the following functional dependencies: SD, I B.IS a Find a key for the relation scheme R(B,O,S,Q,I,D). b. Find a decomposition of R into third normal form, having a lossless join and preserving dependencies c.Find a lossless join decomposition of R into Boyce-Codd normal form.
Engineering
1 answer:
Snowcat [4.5K]3 years ago
8 0

Answer:

Given, FDs are:

S -> D

I -> B

IS -> Q

B -> O

a)

"I" and "S" must be there in any candidate key because they do not appear on the right side of any functional dependency.

The only candidate key is: IS

IS -> ISBDQO

b)

Decomposition of R into 3NF: (I, B), (S, D), (B, O), (I, S, Q)

c)

Decomposition of R into BCNF:

Decompose R by I → B into R1 = (I, B) and R2 = (I, O, S, Q, D).

R1 is in BCNF

Decompose R2 by S → D into R21 = (S, D) and R22 = (O, I, S, Q).

R21is in BCNF

Decompose R22 by I → O into R221 = (I, O) and R222 = (I, S, Q).

R221 is in BCNF.

R222 is in BCNF.

The decomposition is: (I, B), (S, D), (I, O), (I, S, Q)

We can also write it as: (I, B), (S, D), (B, O), (I, S, Q)

Explanation:

The answer above is rendered in a very explanatory way.

You might be interested in
During a load test, a battery's voltage drops below a specific value. what action should the technician take?
Katyanochek1 [597]

Answer:

B

Explanation:

allow battery to become fully discharged and retest

4 0
2 years ago
section 10.1 describes a man in the middle attack on the diffie-hellman key exhange protocal in which the adversary generates tw
nika2105 [10]

Answer:

1. James will attack by generating a random private key XD and a corresponding public key YD.

2. Jane transmit YA to another person called Alex.

3. James intercept YA and transmit YD to jane.

4. Jane receive YD and calculate K1

At this point james and jane thinks they share a secret key but instead james has a secret key k1 to Jane and k2 to alex.

5. Alex transmit another key XA to alex for example.

6. James intercept and calculate k2 and vice versa.

6 0
3 years ago
Which option shows the most valuable metallic properties
Rina8888 [55]

Malleable and ductile

non metals like plastic also have other properties but can't be malleable and ductile so they r most valuable metallic properties

6 0
1 year ago
Use the concept that y = c, −[infinity] < x < [infinity], is a constant function if and only if y' = 0 to determine whethe
attashe74 [19]

Answer:

attached below

Explanation:

5 0
3 years ago
Which of the following conditions is a good sign of minor
Kryger [21]

Answer:

Explanation:

d

7 0
3 years ago
Other questions:
  • An inflatable structure has the shape of a half-circular cylinder with hemispherical ends. The structure has a radius of 40 ft w
    6·1 answer
  • Phil decided to rescue Bobo the Dancing Bear from a traveling circus that was closing its business. Although Bobo was a well-beh
    12·1 answer
  • What is the steady-state value of the output of a system with transfer function G(s)= 6/(12s+3), subject to a unit-step input?
    5·1 answer
  • By efficiency, we generally mean the ratio of the desired output to the required input. That is, efficiency is a measure of what
    7·1 answer
  • How do you connect several springs to increase the equivalent stiffness? What is one example from industry or other real-life si
    7·1 answer
  • Which of these are an ethical issue
    14·1 answer
  • 30POINTS
    15·2 answers
  • A thin 20-cm*20-cm flat plate is pulled at 1m/s horizontally through a 4-mm thick oil layer sandwiched between two stationary pl
    15·1 answer
  • 1)
    13·1 answer
  • Calculate the acceleration of a 2000kg single engine airlane just before take off when the thrust of the engine is 500n?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!