Question: Topic: Write an app to manage a University. Description: A University has People, who have a name and age. Some people are Students, who have

Topic: Write an app to manage a University. Description: A University has People, who have a name and age. Some people are Students, who have a number of credits and number of grade points. Some People are Teachers, who have a salary. Some are Librarians, who have a favorite genre (history, adventure, ...). A University has Departments, which have Students and Teachers. A University also has a Library, which has many Librarians and many Books, each of which has a title and number of pages. It also has several Clubs, which each have a Teacher advisor and Student members. Calculate: 1. a student's GPA: numGradePoints / numCredits 2. the total number of pages of all books 3. total salary of all teachers 4. total number of credits of all students 5. number of students in a department 6. number of students in the university Compare: 1. books to see which is longer, for example if b1>b2 2. teachers to see who earns more, for example if t1>t2 GUI - details later Test Data - make your own. Progress Marks (5): 1. some classes, subclasses, print() methods, and test data, with no associations yet 2. all Classes with assocations (Uni has Depts, Dept has Teachers, ...) 3. all calculations working 4. comparisions working (polymorphism) 5. GUI (we'll do this as part of Lab8) First Steps: - draw a UML - no need for detail (attributes, behaviors, +/-) - make the classes o for example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
