Challenge March-2024

Analyzing Employees                                                                                        Solutions

EmployeesAnalysisDecision models (similarly to databases) frequently deal with the analysis of collections of objects. Here is an example. Let’s help an HR office create a rules-based service to analyze its employees. Each employee has a unique name,  age, gender, marital status, one or more locations (places of residence), number of children, salary, and probably more attributes. This information is coming to the service as a JSON request such as in this file. Your service should find answers to the following questions:

  • What is the current total number of employees?
  • How many children do all employees have? How many children does the average employee have?
  • What is an average salary? What are the maximal and minimal salaries?
  • How many employees are single?
  • In which states do the employee have residences?
  • How many people are inside 20% of highest paid  employees? Who are these high-paid employees?
  • List employees living in certain zip codes.

Your service should be flexible for adding more questions that analyze its employees. Use your favorite decision modeling tool to create such service. Send your solutions to DecisionManagementCommunity@gmail.com.

Solutions: