A university is a very busy place with a lot of students and also a lot of employees to keep the system running perfectly. All people in the university have basic information like name, address, email and phone number. Employees at the university have extra information like employee-id and salary. There are also faculty and staff who are employees at the university. Each faculty has a designation and is assigned to a specific college and has number of courses taught. Each staff belongs to a specific department such as IT, HR etc. and has a designation at the department. Then, there are students who have the information such as Courses taken, GPA etc. You are required to draw the UML Class diagram and create Python classes to represent the different types of people at a university. Identify the classes and the relationships between them. Implement the classes in Python. Create a separate test module where instances of the class are created, and the methods are tested by creating a list of different people at the university and displaying their information.
Draw the UML diagram
AS PER MENTIONED CLASSES I HAVE DRAWN THE CLAS DIAGRAM ...THE EMPLOYEE IS MAIN CLASS AND THE STAFF AND FACULTY ARE THE GENERALISED CLASS
FOR ANY QUERIES PLEASE COMMENT
PLEASE GIVE AN UPVOTE
Get Answers For Free
Most questions answered within 1 hours.