Home / Expert Answers / Computer Science / question-a-university-database-design-and-draw-an-er-diagram-that-captures-the-information-about-t-pa742

(Solved): Question A: University Database Design and draw an ER diagram that captures the information about t ...



Question A: University Database

Design and draw an ER diagram that captures the information about the university. Use only the basic ER model here; that is, entities, relationships, and attributes (as you learned so far). Be sure to indicate any key and participation constraints (total or partial). Use aggregation if you need it to represent the information. Now, consider the following information about a university database:

1. Professors have an SSN, a name, an age, a rank, and a research specialty.

2. Projects have a project number, a sponsor name (e.g., NSF), a starting date, an ending date, and a budget.

3. Graduate students have an SSN, a name, an age, and a degree program (e.g., M.S. or Ph.D.).

4. Each project is managed by one professor (known as the project’s principal investigator).

5. Each project is worked on by one or more professors (known as the project’s coinvestigators).

6. Professors can manage and/or work on multiple projects.

7. Each project is worked on by one or more graduate students (known as the project’s research assistants).

8. When graduate students work on a project, a professor must supervise their work on the project. Graduate students can work on multiple projects, in which case they will have a (potentially different) supervisor for each one.

9. Departments have a department number, a department name, and a main office.

10. Departments have a professor (known as the chairman) who runs the department.

11. Professors work in one or more departments, and for each department that they work in, a time percentage is associated with their job.

12. Graduate students have one major department in which they are working on their degree. 13. Each graduate student has another, more senior graduate student (known as a student advisor) who advises him or her on what courses to take.

 

 

Question B.

B: Pharmacies Database ( 30 points)
The Prescriptions-R-X chain of pharmacies has offered to give you a free lifetime supply ???????

 

 

B: Pharmacies Database ( 30 points) The Prescriptions-R-X chain of pharmacies has offered to give you a free lifetime supply of medicine if you could fix their database design shown in the following figure. To fix this design you need to answer (in English, there is no need to re-draw the diagram) 1. In the current design, it says: "Each pharmacy sells several drugs and has a price for each. A drug could be sold at several pharmacies, and the price could vary from one pharmacy to another". How would this design change if each drug must be sold at a fixed price by all pharmacies? 2. In the current design, it assumed that, if a doctor prescribes the same drug for the same patient more than once, only the last such prescription needs to be stored. How would this design change if the design requirements change as follows: If a doctor prescribes the same drug for the same patient more than once, several such prescriptions may have to be stored.


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer:- In the given below "Entity-Relationship Diagram". The Entities a
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe