Project 3: Employee Management System• Learning Objective: Using Python Classes andObjects, Inheritance and PolymorphismProblem Description:In this problem, you will develop an employee management...

Project 3: Employee Management System• Learning Objective: Using Python Classes andObjects, Inheritance and PolymorphismProblem Description:In this problem, you will develop an employee management system using Python. Here are thebrief requirements of the program:1. Write a class named Employee, that holds information about each employee inattributes such as name, ID number, department, and job title.2. Once you have written the class, Draw the UML diagram, and write a program thatcreates three objects of employee class, with following information and displays theirdetails.Name ID Number Department Job TitleSusanna Myer 47899 Accounting Vice PresidentMark Joseph 39119 Info Tech ProgrammerJoyce Roberts 81774 Manufacturing Engineer3. Create a new class named ShiftEmployee, that is a subclass of Employee class. Theshift employee has additional attributes in addition to name, ID number, Departmentand Job Title. The additional attributes are:- Shift number (an integer, such as 1,2, or 3)- Hourly pay rateThe workday is divided into two shifts: day and night. The shift attribute will hold an integervalue representing the shift that the employee works. The day shift is shift 1 and night shift isshift 2.4. Once you have written the classes, write a program that creates an object ofShiftEmployee class and prompts the user to enter data for each of the object’s dataattributes. Store the data in the object, then use the object’s accessor and mutatormethods to retrieve it and display it on the screen. Demonstrate the ShiftEmployee classby creating atleast 2 shift employee objects.5. Create another new class named Contractor, that is a subclass of Employee class. Thecontractor has additional attributes in addition to name, ID number, Department andJob Title. The additional attributes are:a. Contract End Dateb. Australian Business Number (ABN)c. Fixed Contract Salary until the end of contractDemonstrate this class by creating 2 contractor objects.
Apr 29, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here