Question: Write a Python program that represent the following scenario: - A teachers details are name, subject, annual salary, hired date that gives the year, month,

Write a Python program that represent the following scenario: - A teachers details are name, subject, annual salary, hired date that gives the year, month, and day that the employee got hired, and emiratesld. - A Classroom_Teacher and a Teaching_Asst are two types of teachers. - The difference between them is the way the salary is calculated. - For Teaching_Asst the salary is calculated based on the number of hours he/she has assisted a teacher at an hourly rate (you can decide the amount) - For the Classroom_Teacher a fixed amount is given as the salary every month(you can decide the amount). First draw a UML to represent the given problem. Then, using python create the base class (superclass)and subclasses to represent the scenario. Write a separate test module where 2 instances of the class are created, and the methods are tested by giving the required details and printing the details for each class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
