Question: Problem: Create a UML class diagram for a university system. The system should include the following classes: Student Faculty Course Department The Student class should
Problem:
Create a UML class diagram for a university system. The system should include the following classes:
Student
Faculty
Course
Department
The Student class should have the following attributes:
Name
Student ID
Major
GPA
The Faculty class should have the following attributes:
Name
Faculty ID
Department
Rank
The Course class should have the following attributes:
Name
Department
Credit hours
The Department class should have the following attributes:
Name
Number of faculty
Number of students
The relationships between the classes should be as follows:
A student can take multiple courses. This is a onetomany relationship.
A course can be taught by multiple faculty members. This is also a onetomany relationship.
A faculty member can teach multiple courses. This is also a onetomany relationship.
A student is enrolled in a department. This is a onetoone relationship.
A department has many students. This is also a onetomany relationship.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
