- Visual Studio Code
- Python
UML Diagram:
A visual representation of the system.

Person Class(Parent Class):
This portion creates a "Person" class for managing information about people. It assigns unique ID numbers (G-Numbers) to each person and keeps track of the total number of people. The class has a method to display person details as a string. Another method checks if two people are duplicates based on their ID numbers and names. It returns "True" if they are the same and "False" otherwise, with a check to make sure it's comparing two actual person objects.

Student Class(Child Class):
This portion creates a special type of person called a "Student" with extra details like their major, academic status, and grades. The student's information, like their G-Number, name, and address, can be shown as a string. The code also calculates the student's GPA (how well they're doing in their classes) and allows you to add grades to update it. You can check if the student is currently enrolled, find out their class level (like Freshman or Sophomore), and set their major. In simple terms, it helps keep track of a student's academic stuff.

Faculty Class(Child Class):
This portion is like a digital card for teachers or professors. It keeps track of their name, contact details, rank, specialty, and whether they have a permanent position (called tenure). The card shows all this information in a nice way when you ask for it. It helps organize details about faculty members, making it easy to see who they are and how long they've been working.

Department Class(Child Class):
This Python code is like a digital system for university departments. It keeps track of details like the department's code, name, how many students and faculty it can have, and the minimum GPA needed for some departments. You can add students and teachers to the department, but there are rules like having enough space and meeting GPA requirements. The code also checks if a student is good enough for a specific department and shows a list of students, faculty, or both in the department. It helps keep things organized for university departments.


TestScript:



Results:




Conclusion:
The provided Python code creates a system for handling information in a school. It keeps track of people (like students and teachers) and departments. Students have GPAs and can be enrolled, faculty have ranks and tenure, and departments have capacities and minimum GPA requirements. The code helps organize and manage these details, allowing for actions like adding students or faculty, checking qualifications, and showing rosters. It's like a digital tool for running things smoothly in a school setting.