0% found this document useful (0 votes)
2 views

Assignment Final

Rồng Việt Company seeks to develop a Payroll and HR Management Software to manage employee salaries across different departments, including administrative, marketing, and department heads. The software must include features for importing/exporting employee lists, updating information, searching by salary, and displaying top earners, while also implementing a progressive tax system. The project is divided into two phases: analysis and design, followed by implementation, with specific requirements for class structures and functionality.

Uploaded by

haibara1601
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment Final

Rồng Việt Company seeks to develop a Payroll and HR Management Software to manage employee salaries across different departments, including administrative, marketing, and department heads. The software must include features for importing/exporting employee lists, updating information, searching by salary, and displaying top earners, while also implementing a progressive tax system. The project is divided into two phases: analysis and design, followed by implementation, with specific requirements for class structures and functionality.

Uploaded by

haibara1601
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ASSIGNMENT – FINAL

Part 1: Object Oriented Programming

Rồng Việt Company operates in the advertising industry. It has a large number of employees
divided into multiple departments. Due to the diverse nature of work, different salary calculation
formulas must be applied.

Specifically:

●​ Administrative employees receive a fixed monthly salary.


●​ Department heads receive a monthly salary plus a responsibility allowance.
●​ Marketing employees receive a small fixed salary plus commissions based on their sales
performance.

The company wants to hire you to develop a Payroll and HR Management Software with the
following features:​
✔ Import and export employee lists​
✔ Delete or update employee information​
✔ Search employees by salary​
✔ Sort employees by name and income​
✔ Display the top 5 highest-earning employees in the company

Employees are classified into three types: Administrative Staff, Marketing Staff, and
Department Heads​
✔ Each administrative employee has an ID, full name, and salary.​
✔ Each marketing employee has an additional sales revenue and commission rate.​
✔ Each department head receives an additional responsibility allowance.

Each employee's income and taxable income must be calculated:​


✔ Total income = Sum of all earnings.​
✔ Taxable income follows a progressive tax method:

●​ Below 9 million VND: No tax.


●​ 9-15 million VND: 10% tax.
●​ Above 15 million VND: 12% tax.

As a software developer, you are required to build the Payroll and HR Management
Application according to the company's specifications.

Requirements:
Y1. Input employee list from the keyboard.​
Y2. Display employee list on the screen.​
Y3. Search and display an employee by ID entered from the keyboard.​
Y4. Delete an employee by ID entered from the keyboard.​
Y5. Update employee information by ID entered from the keyboard.​
Y6. Search employees within a salary range entered from the keyboard.​
Y7. Sort employees by last name and first name.​
Y8. Sort employees by income.​
Y9. Display the top 5 highest-earning employees.

Deliverables:

Phase 1: Analysis and Design

●​ The application should generate a menu system containing all required functions.
●​ Implement function calls, but business logic does not need to be written at this stage.
Each function should display a placeholder message indicating its functionality.

Phase 2: Implementation

●​ Develop the Employee class to model administrative employees.


●​ Use ArrayList< Employee > to store employee data entered from the keyboard.
●​ Implement functionality in the functions created in Phase 1 to manage administrative
employees.

Final Assignment:

●​ Create Marketing and Department Head classes inheriting from Employee.


●​ Override the get IncomeTax() method to correctly compute income for marketing staff
and department heads.
●​ Upgrade the program to allow the input of different employee types.
●​ Implement error handling for invalid user inputs.
Part 2: Object Oriented Programming - Inheritance
BK is an IT companies, they want to implement a system to manage their employees.
You are a member of developer team who are responsive develop this system with
below requirements:

1.​ Create two classes to describe like figure 2.1:

2.​ Create a method to permit a user enter a list of employees and stores them in an
array list.
3.​ Write a method to print the list of employees from array list you just entered.
4.​ Write a program to method to calculate total amount which company must paid for
salary for all employees per month.
5.​ Setup a menu to user can select command to call the functions of this application.

You might also like