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
Ahat [919]
3 years ago
15

Create a Relational Schema for the following scenario. Include all primary and foreign keys and list any assumptions you make. 

A research facility has many chemists who work on one or more projects.  Attributes of chemists include a unique employee id, a name, rank and email.  Each project has one chemist who is given the title of project leader. A chemist may be the leader of several projects.  Attributes of a project include a unique project number, start date and description.  Each project is assigned to one or more laboratories but each laboratory can house at most one project at any time.  Attributes of a laboratory include a building name, room number, capacity and type. The combination of building name and room number is unique.  Chemists can borrow equipment from the stockroom. Each time a piece of equipment is borrowed the check-out date is recorded and when it is returned a return date is recorded. The return date is set to 00-00-0000 until the piece of equipment has been returned. Historical data on the equipment is maintained and a chemist can check out the same piece of equipment on multiple dates.  Attributes of equipment include a unique serial number, description and cost.

Engineering
1 answer:
NARA [144]3 years ago
4 0

Answer:

See explaination

Explanation:

Some of the Important Observation used in Entity Relational Diagram.

1. A Chemist can be involved one project or many projects

2. A project can hire just one or many chemists.

3. A chemist can lead over one or many projects

4. A project can have only one project leader chemist.

5. A project can be done in 1 or many laboratories.

6. A laboratory can host 0 or 1 projects.

7. A laboratory can have 1 or many equipments.

8. An Equipment can be in 1 or 0 laboratories.

9. A chemist can have 0 or many types of equipments.

10. An Equipment can have 0 or 1 chemist at a time

Notations:

PK=Primary Key:

A primary key, also called a primary keyword, is a key in a relational database that is unique for each record. It is a unique identifier, such as a driver license number, telephone number

FK=Foreign Key:

A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. It acts as a cross-reference between tables because it references the primary key of another table, thereby establishing a link between them

Composite key:

A composite key is a combination of two or more columns in a table that can be used to uniquely identify each row in the table when the columns are combined uniqueness is guaranteed, but when it is taken individually it does not guarantee uniqueness

You might be interested in
Write the implementation (.cpp file) of the Player class from the previous exercise. Again, the class contains:
hoa [83]

Answer:

//Define the header file

#ifndef PLAYER_H

#define PLAYER_H

//header file.

#include <string>

//Use the standard namespace.

using namespace std;

//Define the class Player.

class Player

{

//Declare the required data members.

string name;

int score;

public:

//Declare the required

//member functions.

void setName(string par_name);

void setScore(int par_score);

string getName();

int getScore();    

}

//End the definition

//of the header file.

#endif

Player.cpp:

//Include the "Player.h" header file,

#include "Player.h"

//Define the setName() function.

void Player::setName(string par_name)

{

name = par_name;

}

//Define the setScore() function.

void Player::setScore(int par_score)

{

score = par_score;

}

//Define the getName() function.

string Player::getName()

{

return name;

}

//Define the getScore() function.

int Player::getScore()

{

return score;

}

7 0
3 years ago
Discuss the environmental concerns regarding microfibre products
zlopas [31]

I don't know

Explanation:

cfffffffffggg

8 0
3 years ago
The motor of an electric vehicle runs at an average of 50 hp for one hour and 25 minutes. Determine the total energy. Write the
Sunny_sXe [5.5K]

Answer:

The total energy of the motor of the electric vehicle is 1.902 × 10⁸ joules.

Explanation:

Power is the rate of change of work in time, since given input is average power, the total energy (\Delta E) of the motor of the electric vehicle, measured in joules, is determined by this formula:

\Delta E = \dot W \cdot \Delta t

Where:

\dot W - Average power, measured in watts.

\Delta t - Time, measured in seconds.

Now, let convert average power and time into watts and seconds, respectively:

Average Power

\dot W = (50\,hp)\times \frac{746\,W}{1\,hp}

\dot W = 3.730\times 10^{4}\,W

Time

\Delta t = (1\,h)\times \frac{3600\,s}{1\,h} + (25\,min)\times \frac{60\,s}{1\,min}

\Delta t = 5.100\times 10^{3}\,s

Then, the total energy is:

\Delta E = (3.730\times 10^{4}\,W)\cdot (5.100\times 10^{3}\,s)

\Delta E = 1.902\times 10^{8}\,J

The total energy of the motor of the electric vehicle is 1.902 × 10⁸ joules.

6 0
4 years ago
CPS 2231: Computer Organization and Programming Programming assignment #1 Concepts: Scanner, loops, input validation, array, met
agasfer [191]

Answer:

import java.util.*;

public class BarChart

{

public static void main(String args[])

{

int arr[]=new int[5];

Scanner sc=new Scanner(System.in);

for(int i=0;i<5;i++)

{

while(true){

System.out.println("Enter today's sale for store "+(i+1)+" (negative value not allowed)");

arr[i]=sc.nextInt();  

if(arr[i]>0)

break;

}

}

System.out.println("SALES BAR CHART");

for(int i=0;i<5;i++)

{

System.out.println("Store "+(i+1)+": ");

for(int j=0;j<arr[i];j=j+100)

{  

System.out.print("*");

}

System.out.println("");

}

}

}

3 0
3 years ago
When the third color band is silver it represents
juin [17]
The third band represents the multiplier
4 0
4 years ago
Other questions:
  • for high-volume production runs, machining parts from solid material might not be the best choice of manufacturing operations be
    12·1 answer
  • Five bolts are used in the connection between the axial member and the support. The ultimate shear strength of the bolts is 320
    5·1 answer
  • Which branch of engineering studies the physical behavior of metallic elements?
    8·2 answers
  • How are scientific discoveries used in engineering design?
    12·1 answer
  • Estimate the uncertainty in a 22 m/sec air velocity measurement using a Pitot tube at 20C. Assume the atmospheric pressure is 1
    7·1 answer
  • Tech A says that some relays are equipped with a suppression diode in parallel with the winding. Tech B says that some relays ar
    10·1 answer
  • A lightbulb has a fixed negative and positive connector. You cannot swap positive and negative sides of a lightbulb in a circuit
    9·2 answers
  • How is engine power expressed?
    8·2 answers
  • Find the remaining trigonometric function of 0 if
    13·1 answer
  • Question 2
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!