By using Creately tool, draw the class diagram corresponding to the following scenario: • Each university has one or more department • Each department has a chairperson which is a lecturer and surely it assigns others • Each course object maintains a list of the students on that course and the lecturer who has been assigned to teach that course • The course has behaviour that allow the adding and removing of students from the course, assigning a lecturer, getting a list of the currently assigned students, and the currently assigned lecturer. • The “taughtBy” relationship shows that a Course only has a single lecturer, but that a lecturer may teach several Courses. • Each Lecturer object also maintains a list of the Courses that it teaches. • There is a similar relationship between Course and Student. A course is attended by zero or more Students, and a Student may attend multiple courses. • Both Lecturer and Student are shown to be types of Person.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter11: Introduction To Classes
Section11.5: A Closer Look: Uml Class And Object Diagrams
Problem 8E
icon
Related questions
Question

By using Creately tool, draw the class diagram corresponding to the following scenario:
• Each university has one or more department
• Each department has a chairperson which is a lecturer and surely it assigns others
• Each course object maintains a list of the students on that course and the lecturer who has been
assigned to teach that course
• The course has behaviour that allow the adding and removing of students from the course,
assigning a lecturer, getting a list of the currently assigned students, and the currently assigned
lecturer.
• The “taughtBy” relationship shows that a Course only has a single lecturer, but that a lecturer
may teach several Courses.
• Each Lecturer object also maintains a list of the Courses that it teaches.
• There is a similar relationship between Course and Student. A course is attended by zero or
more Students, and a Student may attend multiple courses.
• Both Lecturer and Student are shown to be types of Person.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Software Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr