Question: CPSC 440 - Assignment #3 Creating Inheritance for a University Application. Suppose you are asked to create a university application where the following entities will
CPSC 440 - Assignment \#3 Creating Inheritance for a University Application. Suppose you are asked to create a university application where the following entities will be represented. 1. PartTimeStudent FirstName, LastName, SSNum, Test1, Test2, Street Address, City, Telephone ComputeGrade method with 0.4 Test1 +0.6 Test 2 2. UnderGradStudent FirstName, LastName, 1D, Test1, Test2, Street Address, City, Telephone ComputeGrade method with 0.45 Test 1+0.55 * Test 2 3. GradStudent FirstName, LastName, 1D, Test1, Test2, Thesis, Street Address, City, Telephone ComputeGrade method with 0.45 Test 1+0.55 Test 2 4. PhDStudent FirstName, LastName, 1D, Test1, Test2, PhdAdvisor, Street Address, City, Telephone ComputeGrade method with 0.3 Test1 +0.7 * Test2 5. LabManager FirstName, LastName, EmplD, Department, Street Address, City, Telephone 6. Fulitimefaculty FirstName, LastName, EmpiD, Department, Rank, Street Address, City, Telephone (Rank could be Assistant, Associate or Full Professor) 7. PartTimefaculty FirstName, LastName, SSNum, Department, Street Address, City. Telephone 8. Secretary FirstName, LastName, EmpD, Department, Street Address, City, Telephone Create appropriate class hierarchy for the above requirements by introducing base classes. Provide constructors and ToString methods for each class. Include appropriate keywords of virtual, abstract, override, public, and protected wherever applicable. Create a UML diagram for the overall class hierarchy through Visual Studio
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
