In this problem, you will develop an employee management system using Python. Here are the brief requirements of the program: Write a class named Employee, that holds information about each employee in attributes such as name, ID number, department, and job title. Once you have written the class, Draw the UML diagram, and write a program that creates three objects of employee class, with following information and displays their details. Name ID Number Department Job Title Susanna Myer 47899 Accounting Vice President Mark Joseph 39119 Info Tech Programmer Joyce Roberts 81774 Manufacturing Engineer Create a new class named ShiftEmployee, that is a subclass of Employee class. The shift employee has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are: Shift number (an integer, such as 1,2, or 3) Hourly pay rate The workday is divided into two shifts: day and night. The shift attribute will hold an integer value representing the shift that the employee works. The day shift is shift 1 and night shift is shift 2. Once you have written the classes, write a program that creates an object of ShiftEmployee class and prompts the user to enter data for each of the object’s data attributes. Store the data in the object, then use the object’s accessor and mutator methods to retrieve it and display it on the screen. Demonstrate the ShiftEmployee class by creating atleast 2 shift employee objects. Create another new class named Contractor, that is a subclass of Employee class. The contractor has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are: Contract End Date Australian Business Number (ABN) Fixed Contract Salary until the end of contract Demonstrate this class by creating 2 contractor objects
In this problem, you will develop an employee management system using Python. Here are the brief requirements of the program: Write a class named Employee, that holds information about each employee in attributes such as name, ID number, department, and job title. Once you have written the class, Draw the UML diagram, and write a program that creates three objects of employee class, with following information and displays their details. Name ID Number Department Job Title Susanna Myer 47899 Accounting Vice President Mark Joseph 39119 Info Tech Programmer Joyce Roberts 81774 Manufacturing Engineer Create a new class named ShiftEmployee, that is a subclass of Employee class. The shift employee has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are: Shift number (an integer, such as 1,2, or 3) Hourly pay rate The workday is divided into two shifts: day and night. The shift attribute will hold an integer value representing the shift that the employee works. The day shift is shift 1 and night shift is shift 2. Once you have written the classes, write a program that creates an object of ShiftEmployee class and prompts the user to enter data for each of the object’s data attributes. Store the data in the object, then use the object’s accessor and mutator methods to retrieve it and display it on the screen. Demonstrate the ShiftEmployee class by creating atleast 2 shift employee objects. Create another new class named Contractor, that is a subclass of Employee class. The contractor has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are: Contract End Date Australian Business Number (ABN) Fixed Contract Salary until the end of contract Demonstrate this class by creating 2 contractor objects
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
In this problem, you will develop an employee management system using Python. Here are the brief requirements of the program:
- Write a class named Employee, that holds information about each employee in attributes such as name, ID number, department, and job title.
- Once you have written the class, Draw the UML diagram, and write a program that creates three objects of employee class, with following information and displays their details.
Name |
ID Number |
Department |
Job Title |
Susanna Myer |
47899 |
Accounting |
Vice President |
Mark Joseph |
39119 |
Info Tech |
Programmer |
Joyce Roberts |
81774 |
Manufacturing |
Engineer |
- Create a new class named ShiftEmployee, that is a subclass of Employee class. The shift employee has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are:
- Shift number (an integer, such as 1,2, or 3)
- Hourly pay rate
The workday is divided into two shifts: day and night. The shift attribute will hold an integer value representing the shift that the employee works. The day shift is shift 1 and night shift is shift 2.
- Once you have written the classes, write a program that creates an object of ShiftEmployee class and prompts the user to enter data for each of the object’s data attributes. Store the data in the object, then use the object’s accessor and mutator methods to retrieve it and display it on the screen. Demonstrate the ShiftEmployee class by creating atleast 2 shift employee objects.
- Create another new class named Contractor, that is a subclass of Employee class. The contractor has additional attributes in addition to name, ID number, Department and Job Title. The additional attributes are:
- Contract End Date
- Australian Business Number (ABN)
- Fixed Contract Salary until the end of contract Demonstrate this class by creating 2 contractor objects.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY