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
The following laboratory test results for Atterberg limits and sieve-analysis were obtained for an inorganic soil. [6 points] Si
alexira [117]

Answer: hello the complete question is attached below

answer:

A) Group symbol = SW

B) Group name = well graded sand , fine to coarse sand

C) It is not a clean sand given that ≤ 50% particles are retained on No 200

Explanation:

<u>A) Classifying the soil according to USCS system</u>

 ( using 2nd image attached below )

<em>description of sand</em> :

The soil is a coarse sand since  ≤ 50% particles are retained on No 200 sieve, also

The soil is a sand given that more than 50% particles passed from No 4 sieve

The soil can be a clean sand given that fines ≤ 12%

The soil can be said to be a well graded sand because the percentage of particles passing through decreases gradually over time

Group symbol as per the 2nd image attached below = SW

B) Group name = well graded sand , fine to coarse sand

C) It is not a clean sand given that ≤ 50% particles are retained on No 200

5 0
3 years ago
A 0.25in diameter steel rod BC is securely attached between two identical 1in diameter copper rods (AB and CD). Find the torque
Helen [10]

Answer:

Tmax= 46.0 lb-in

Explanation:

Given:

- The diameter of the steel rod BC d1 = 0.25 in

- The diameter of the copper rod AB and CD d2 = 1 in

- Allowable shear stress of steel τ_s = 15ksi

- Allowable shear stress of copper τ_c = 12ksi

Find:

Find the torque T_max

Solution:

- The relation of allowable shear stress is given by:

                             τ = 16*T / pi*d^3

                             T = τ*pi*d^3 / 16

- Design Torque T for Copper rod:

                             T_c = τ_c*pi*d_c^3 / 16

                             T_c = 12*1000*pi*1^3 / 16

                             T_c = 2356.2 lb.in

- Design Torque T for Steel rod:

                             T_s = τ_s*pi*d_s^3 / 16

                             T_s = 15*1000*pi*0.25^3 / 16

                             T_s = 46.02 lb.in

- The design torque must conform to the allowable shear stress for both copper and steel. The maximum allowable would be:

                             T = min ( 2356.2 , 46.02 )

                             T = 46.02 lb-in

6 0
3 years ago
What does it take to launch a rocket in space?
Dafna11 [192]
To get rockets into orbit, they need much more thrust than the amount that will get them up to the required altitude. They also need sufficient thrust to allow them to travel with very high orbital speed. ... If speed is less than this, an object will fall back to the Earth
3 0
3 years ago
Read 2 more answers
Write a program that prompts the user to enter time in 12-hour notation. The program then outputs the time in 24-hour notation.
Juliette [100K]

Answer:

THE CODE FOR THE PROGRAM IS GIVEN BELOW:

#include <iostream>

#include "ConvertTimeHeader.h"

using namespace std;

int main()

{

convertTime convert;

int hr, mn, sc = 0;

 

cout << "Please input hours in 12 hr notation: ";

cin >> hr;

cout << "Please input minutes: ";

cin >> mn;

cout << "Please input seconds: ";

cin >> sc;

 

convert.invalidHr(hr);

convert.invalidMin(mn);

convert.invalidSec(sc);

convert.printMilTime();

 

system("Pause");

 

return 0;  

 

}

#include <iostream>

#include "ConvertTimeHeader.h"

using namespace std;

int convertTime::invalidHr (int hour)

{

try{

 if (hour < 13 && hour > 0)

  {hour = hour + 12;

  return hour;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input hour again in correct 12 hour format: ";

  cin >> hour;

  invalidHr(hour);

  throw 10;

 }

   

}

catch (int c) { cout << "Invalid hour input!";}

}

int convertTime::invalidMin (int min)

{

try{

 if (min < 60 && min > 0)

  {return min;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input minutes again in correct 12 hour format: ";

  cin >> min;

  invalidMin(min);

  throw 20;

  return 0;

 }

   

}

catch (int e) { cout << "Invalid minute input!" << endl;}

}

int convertTime::invalidSec(int sec)

{

try{

 if (sec < 60 && sec > 0)

  {return sec;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input seconds again in correct 12 hour format: ";

  cin >> sec;

  invalidSec(sec);

  throw 30;

  return 0;

 }

   

}

catch (int t) { cout << "Invalid second input!" << endl;}

}

void convertTime::printMilTime()

{

cout << "Your time converted: " << hour << ":" << min << ":" << sec;

}

Explanation:

4 0
3 years ago
What are the three most common types of relearn procedures?
WITCHER [35]

Answer:

The three types of relearn procedures are auto relearn, stationary and OBD.

Explanation:

In TPMS system, after the direct service like adjustment of air pressure, tire rotation or replacement of sensors etc, is performed then maximum vehicle  often needs TPMS system relearn that needs to be performed.

For performing these relearn procedure, there are mainly three types:

  1. auto relearn
  2. stationary relearn
  3. OBD

After applying the relearn process, the TPMS system will again be in proper function.

8 0
3 years ago
Other questions:
  • Two kg of N2 at 450 K, 7 bar is contained in a rigid tank connected by a valve to another rigid tank holding 1 kg of O2 at 300 K
    13·1 answer
  • WhT DO FILM PRODUTION SAY WHEN REMOVING GREEN AND BLUE SCREENS.
    14·1 answer
  • Which traditional subject is part of construction management or construction science syllabi?
    5·1 answer
  • 10–25. The 45° strain rosette is mounted on the surface of a shell. The following readings are obtained for each gage: ε a = −20
    9·1 answer
  • If a signal is transmitted at a power of 250 mWatts (mW) and the noise in the channel is 10 uWatts (uW), if the signal BW is 20M
    13·1 answer
  • A single lane highway has a horizontal curve. The curve has a super elevation of 4% and a design speed of 45 mph. The PC station
    8·1 answer
  • all of the following are steps in the problem solving process except a. try, b. reflect, c. debug, d. define
    11·1 answer
  • What is code in Arduino to turn led on and off
    10·1 answer
  • 9. Imagine that you're performing measurements on a circuit with a multimeter. You measure a total circuit
    14·2 answers
  • For many people in 3D modeling copyrights and licensing allow them to earn a living.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!