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
90% of traffic crashes are due to driver error.<br> True<br> False
kumpel [21]

90% of traffic crashes are due to driver error.

True

3 0
2 years ago
Read 2 more answers
Write a iterative function that finds the n-th integer of the Fibonacci sequence. Then build a minimal program (main function) t
Natasha2012 [34]

Answer:

Codes for each of the problems are explained below

Explanation:

PROBLEM 1 IN C++:

#include<iostream>

using namespace std;

//fib function that calculate nth integer of the fibonacci sequence.

void fib(int n){

  // l and r inital fibonacci values for n=1 and n=2;

  int l=1,r=1,c;

 

  //if n==1 or n==2 then print 1.

  if(n==1 || n==2){

      cout << 1;

      return;

  }

  //for loop runs n-2 times and calculates nth integer of fibonacci sequence.

  for(int i=0;i<n-2;i++){

      c=l+r;

      l=r;

      r=c;

      cout << "(" << i << "," << c << ") ";

  }

  //prints nth integer of the fibonacci sequence stored in c.

  cout << "\n" << c;

}

int main(){

  int n; //declared variable n

  cin >> n; //inputs n to find nth integer of the fibonacci sequence.

  fib(n);//calls function fib to calculate and print fibonacci number.

}

PROBLEM 2 IN PYTHON:

def fib(n):

   print("fib({})".format(n), end=' ')

   if n <= 1:

       return n

   else:

       return fib(n - 1) + fib(n - 2)

if __name__ == '__main__':

   n = int(input())

   result = fib(n)

   print()

   print(result)

7 0
3 years ago
Read 2 more answers
Tires can be recycled instead of thrown out.<br> True<br> False
Arisa [49]

Answer:

True :)

Explanation:

You can recycle it! Tire recycling is the most practical and environment-friendly way of disposing of old and worn-out tires. Due to their inherent durability, large volume and environment and health risks, tires are one of the most problematic sources of solid wastes.

Hope it helped have a nice day! :)

8 0
2 years ago
In what way is a spud wrench different from a pipe wrench?<br><br> See picture
maks197457 [2]
A spud wrench and pipe is for install pipes
6 0
3 years ago
Read 2 more answers
Part B Now push the plate down and observe what happens on the shore. Repeat the action three to four more times, and watch the
wolverine [178]

Answer:

A tsunami's trough, the low point beneath the wave's crest, often reaches shore first. When it does, it produces a vacuum effect that sucks coastal water seaward and exposes harbor and sea floors. As the tsunami approaches water is drawn back from the beach to effectively help feed the wave. In a tide the wave is so long that this happens slowly, over a few hours.

Explanation:

4 0
3 years ago
Other questions:
  • When watching your weight, you want to snack smart. To do that, you want a snack that is going to __________.
    13·1 answer
  • The angle of twist can be computed using the material’s shear modulus if and only if: (a)- The shear stress is still in the elas
    14·1 answer
  • A parallel circuit with two branches and an 18 volt battery. Resistor #1 on the first branch has a value of 220 ohms and resisto
    7·1 answer
  • A vernier caliper will measure in what ( URGENT)
    10·1 answer
  • Free ideas free points. You will be reported for answering "no" or I don't know
    11·1 answer
  • The goal of the following model is generate a clock waveform that has the clock high 4 time units and low 4 time units, with the
    15·1 answer
  • A three-phase Y-connected 50-Hz two-pole synchronous machine has a stator with 2000 turns of wire per phase. What rotor flux wou
    11·1 answer
  • Please help been stuck on this for a couple minutes
    5·1 answer
  • Coving is a curved edge between a floor and a wall.<br> O True<br> O False
    13·2 answers
  • In-------process the hot drawn bar or rod is pulled through the die.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!