Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

these are two different solutions i found please write me a solution that i could get a full mark from Q1 (5 marks): Draw a

these are two different solutions i found please write me a solution that i could get a full mark from image text in transcribed
image text in transcribed
image text in transcribed
Q1 (5 marks): Draw a class diagram based on the following requirements: 1. All instructors consist of professor, associate professor, and assistant professor. 2. Departments offer many courses, but a course is offered by one or more department. 3. Courses are taught by instructors, who may teach up to three courses. 4. Instructors are assigned to one department. 5. One instructor may chair a department. Extend the class diagram to include the following attributes: 1. A department includes the department ID (private), department name (public), and description about the department (public) 2. An instructor includes the instructor ID (private), instructor name (public) and department 3. A course includes the course ID (private), course name (public), course description (public), and prerequisite course (protected) Extend the class diagram to include the following operations: 1. Instructors can 2. Select course 3. Prepare course plan Chain Manages 1 Instructor - instructor ID: int + instructor Nome: String depautment Instructor con() Department -1- Assigned to 1-- departmentID: int It department Name: String It description : staing select to wise ( preparo Couse planu Issundby Teaches Assistant Jeroen ITAL Prosessor -in showed tinstructor SA depot (associate ( profenor ANO TA 4 Wind defe Course Course ID: int It cousse Name: string It cours desmiption" sting #prenquistic commisting Inductor Coo den Anoches pro solo la 2) Next extension by adding attributes Iber Supaya +In Prost - Dodo Dede Deoretyn alat CS - tricher | profe ARA portor - der Department Sub c A 3)Next extension by adding operations Pedal www hr geeliton

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions