rite the classes indicated below and test your code by creating objects of them and printing their contents. Draw to UML diagram just uml diagram please •Course o Semester o ID o Prerequisite courses o Syllabus o Number of homeworks o Number of projects o Percentage of the homeworks in the total grade o Percentage of the projects in the total grade o Percentage of the midterm in the total grade o Percentage of the final in the total grade o The first 3 attributes on this list should be set by the department, else should be set by the instructor, write the necessary methods o Method to print the contents of the class • Instructor o Full name o IDo Starting date (to the job at the university) o Department o Instructor is full time professor or not o Number of journal papers published o Number of conference papers published o Courses offered o Name of the laboratory o Method to set the course contents o Methods to increase number of journal papers published and conference papers published o Methods for adding course, removing course, printing courses offered, query if a given course is offered by this instructor, query courses offered in each semester and in each department o Method to print the contents of the class • Department o Department name o Faculty name o Students o Courses offered o Faculty members o Name of the head of the department o Methods for adding course, removing course, adding faculty member, removing faculty member, printing names of the courses offered, printing names of the faculty members, find course, find faculty member, get courses with prerequisite and without a prerequisite, get courses given by a faculty member, print courses given by a faculty member, get the number of students, add student, remove student, print the number of and the names and IDs of all freshmen, sophomore, junior and senior students. • Faculty o Departments o Methods to get number of departments, get number of total faculty members, add department, remove department, adding faculty member, removing faculty member, printing courses offered, printing faculty members, get number of fulltime faculty members, get number of adjunct faculty members • [Student o Full name o ID o Starting date (to the university) o Is the student freshman, sophomore, junior or senior (I suggest make it an enum and assign accordingly) o Courses being taken o Courses completed and their letter grades o GPA CONTINUES ON THE NEXT PAGEo Methods for getting the GPA, print transcript (courses taken and their letter grades per semester), get failed courses, get the grade of the student (freshman, sophomore, junior or senior) o Method to print the contents of the class • UniversityMember o This class will be there base class for instructor and student, write accordingly and make these 2 classes inherit from
Write the classes indicated below and test your code by creating objects of them and printing
their contents.
- Draw to UML diagram just uml diagram please
•Course
o Semester
o ID
o Prerequisite courses
o Syllabus
o Number of homeworks
o Number of projects
o Percentage of the homeworks in the total grade
o Percentage of the projects in the total grade
o Percentage of the midterm in the total grade
o Percentage of the final in the total grade
o The first 3 attributes on this list should be set by the department, else should be set by
the instructor, write the necessary methods
o Method to print the contents of the class
• Instructor
o Full name
o IDo Starting date (to the job at the university)
o Department
o Instructor is full time professor or not
o Number of journal papers published
o Number of conference papers published
o Courses offered
o Name of the laboratory
o Method to set the course contents
o Methods to increase number of journal papers published and conference papers
published
o Methods for adding course, removing course, printing courses offered, query if a given
course is offered by this instructor, query courses offered in each semester and in each
department
o Method to print the contents of the class
• Department
o Department name
o Faculty name
o Students
o Courses offered
o Faculty members
o Name of the head of the department
o Methods for adding course, removing course, adding faculty member, removing faculty
member, printing names of the courses offered, printing names of the faculty
members, find course, find faculty member, get courses with prerequisite and without a
prerequisite, get courses given by a faculty member, print courses given by a faculty
member, get the number of students, add student, remove student, print the number of
and the names and IDs of all freshmen, sophomore, junior and senior students.
• Faculty
o Departments
o Methods to get number of departments, get number of total faculty members, add
department, remove department, adding faculty member, removing faculty member,
printing courses offered, printing faculty members, get number of fulltime faculty
members, get number of adjunct faculty members
• [Student
o Full name
o ID
o Starting date (to the university)
o Is the student freshman, sophomore, junior or
senior (I suggest make it an enum and assign
accordingly)
o Courses being taken
o Courses completed and their letter grades
o GPA
CONTINUES ON THE NEXT PAGEo Methods for getting the GPA, print transcript (courses taken and their letter grades per
semester), get failed courses, get the grade of the student (freshman, sophomore, junior
or senior)
o Method to print the contents of the class
• UniversityMember
o This class will be there base class for instructor and student, write accordingly and make
these 2 classes inherit from i
Step by step
Solved in 2 steps with 1 images