Question: Question 2 [40 marks] Learning outcomes to be tested: 1. Design object oriented solutions using UML. A new Bahraini company requires an application to manage

Question 2 [40 marks] Learning outcomes to be

Question 2 [40 marks] Learning outcomes to be tested: 1. Design object oriented solutions using UML. A new Bahraini company requires an application to manage its employees' data. There are 2 types of employee at this company; Full-Time employees who have permanent positions at the company and Contractors who are employed under short term contracts. The application should allow all employees' information to be recorded and stored in the system. The following information should be recorded for all employees; name, address and phone number. An employee ID should be automatically created by the application for each employee. Additional information to be recorded for full-time employees is; annual salary. Additional information to be recorded for contract employees is; hourly rate and number of working hours per month (this is the number of hours a Contract employee is contracted to work per month). A storage structure for the list of employees should be placed in the appropriate class. Both full-time and contract employees should be stored in the same storage structure. The application should provide the ability to add an employee to the system and produce a monthly pay report. To produce a monthly pay report the application should loop through the storage structure and calculate the monthly salary for each employee and display it. Employees' salaries are calculated differently depending on what type of employee they are. Create a UML diagram to solve this problem using an application of your choice (Note : you are NOT required to add constructors, accessor or mutator(get/set) methods to your UML design.) 40 marks Focus

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!