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.
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.
Step by step
Solved in 2 steps with 1 images