Sie sind auf Seite 1von 3

Java Interview Task

Task
You have recently begun a position in Dexter Software Ltd as a Junior Programmer, and have
joined a small development team to develop a Payroll System for small manufacturing company
called Marline Production Ltd. This company have 15-20 employees working in different contract
types.

Most of the businesses have three types of employees i.e. Salaried Employees, Commissioned
Employees and Hourly Employees. You are required to store basic information for different
employees, which include:

 Employee ID
 Employee title
 First name
 Last name
 Date of birth
 National Insurance (NI) Number
 Job titles (you can fix the job titles e.g. Office worker, Officer, Supervisor, Team leader,
Managers, CEO, Director etc. add more if required)
 Job Department (you can assume departments e.g. Production, Sales, Marketing etc. add
more if required)

For salaried employees you need to include additional information related to mode (i.e. Part time
or Full time) and their agreed Annual salary. Similarly, for Hourly Employees you will need to store
agreed hourly pay rate and finally for Commission Employees their annual gross salary and their
Commission rate. Before you could generate payslips, the employee must be registered. For
testing purposes the program should auto populate at least three employees (one for each type
of employee).

At the end of every month, you will generate and store the monthly payslip for each employee,
which will require you to enter employee ID, month followed by relevant parameters, for example
for hourly employee you will input number of hours and for commission employees you will input
sales amount to calculate their commission. For salaried employees no input is required. You
should only record the calculation of their monthly amount for salary based on their annual salary.
Finally, your program should be able to display the pay slip for any selected employee for any
selected previous month only.

Your program should have the following menu and sub menus.

1. Register Employee

ARK Techno Solutions  Office # 209, AL- Ameen Plaza, Sadar, Rawalpindi
Land: 051-5701044  Mobile: +92331-4409752  Skype: arksolution2015
E m ai l : contact@ ar ksol s . com
Java Interview Task

a. Salaried Employees

b. Hourly Employees

c. Commission Employees

2. View Employee

a. All Employees

b. Salaried Employees

c. Hourly Employees

d. Commission Employee

3. Remove Employee

4. Generate Pay slips

a. Salaried Employee

b. Hourly Employee

c. Commission Employee

5. Exit

A sample menu is provided below, however you can use your own imagination to present
your screens.

ARK Techno Solutions  Office # 209, AL- Ameen Plaza, Sadar, Rawalpindi
Land: 051-5701044  Mobile: +92331-4409752  Skype: arksolution2015
E m ai l : contact@ ar ksol s . com
Java Interview Task

The user interface will be menu driven prompting the user to select a choices. The menu items
listed by numbers (in the above menu) will appear as your main menu and the items listed by
alphabets will be your sub menus.

Depending on the option selected from the main menu, sub menus should branch out offering the
user different options e.g. if option 1 from the main menu is selected, a sub menu should appear
offering the user the choice to select type of employees to register.

What the system should be able to do:

The system should follow the sequence of evets and notify the use if wrong options is selected,
for example, you cannot display employee if the employee is not registered. The first step will be
to record employee’s information.

Special Notes:

 One employees with same name cannot be registered in two different contract type, e.g. salaried
and commission.

 A list of at least 3 employees’ objects (one for each type of employee) can be pre populated for
program testing and demonstration screen grabs.

On-screen reporting

Appropriate menus and submenus based on the option selected.

ARK Techno Solutions  Office # 209, AL- Ameen Plaza, Sadar, Rawalpindi
Land: 051-5701044  Mobile: +92331-4409752  Skype: arksolution2015
E m ai l : contact@ ar ksol s . com

Das könnte Ihnen auch gefallen