Question: Scenario: You are tasked with designing a database for a university. The university has several departments, each offering multiple courses. Professors are assigned to teach

Scenario:
You are tasked with designing a database for a university. The university has several departments, each offering multiple courses. Professors are assigned to teach these courses, and students enroll in them. The university also keeps track of the research projects that professors are involved in, and students can assist in these projects.
Requirements:
Entities and Attributes:
Department: DepartmentID (Primary Key), DepartmentName, Location
Course: CourseID (Primary Key), CourseName, Credits, DepartmentID (Foreign Key)
Professor: ProfessorID (Primary Key), ProfessorName, Title, DepartmentID (Foreign Key)
Student: StudentID (Primary Key), StudentName, Major, Year
ResearchProject: ProjectID (Primary Key), ProjectName, StartDate, EndDate, ProfessorID (Foreign Key)
Relationships:
Department-Course: A department offers multiple courses (1-to-Many).
Professor-Course: A professor can teach multiple courses, and a course can be taught by multiple professors (Many-to-Many).
Student-Course: A student can enroll in multiple courses, and a course can have multiple students enrolled (Many-to-Many).
Professor-ResearchProject: A professor can be involved in multiple research projects (1-to-Many).
Student-ResearchProject: A student can assist in multiple research projects, and a research project can have multiple student assistants (Many-to-Many).
Enhanced Features:
Specialization/Generalization: Professors can be specialized into different types such as Full-Time and Part-Time. Each type has specific attributes:
Full-Time: Salary, OfficeNumber
Part-Time: HourlyRate, HoursPerWeek
Aggregation: Research projects can be aggregated into larger research initiatives.
Tasks:
Identify Entities and Relationships: List all entities and their attributes. Identify the relationships between entities and their cardinalities.
Draw the EER Diagram: Create an EER diagram that includes all entities, relationships, and enhanced features such as specialization/generalization and aggregation.
Apply Constraints: Define any necessary constraints, such as total or partial participation and disjoint or overlapping constraints for the specialization/generalization.
Example Diagram:
You can use tools like Lucidchart or draw it manually to visualize the EER diagram. Heres a basic structure to get you started:
Department (1)----(M) Course
Professor (M)----(M) Course
Student (M)----(M) Course
Professor (1)----(M) ResearchProject
Student (M)----(M) ResearchProject
Professor (Generalization: Full-Time, Part-Time)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!