Posted: August 27th, 2021
Student’s Name
Instructor Name
Course
Date
Process Specifications
The process entails maintaining employee files where each record should contain the following data information on employee number, name, and gross pay. Recently, the organization management decided to increase each employee’s pay once certain conditions are met. These include for the payment of USD 900 or less, there is a 20% increase, for pay above USD 900, but up to USD 1900, there is an increase of 15% while for the pay above USD 1,900, there is an increase of 10%. Figure 1 below illustrates these policies using structured English processing and expresses the policies using a decision table to follow full process specifications. The process intends to represent the inputs required to produce the outputs diagrammatically. Thus, in this case, the output is the final decision to either increase or maintain employee pay level based on inputs that include current pay level, name, and employee number.
Process Flow
Maintaining an Employee File
Programme Specifications
Program
Input Requirements
Employee records;
Output
Process Specification and Logic
Program logic
While employee records left in file do
read Number, name, gross pay
if gross pay <= 900
then increase = gross pay * 0.2
else if gross pay <= 1,900
then increase = gross pay * 0.15
else increase = gross pay * 0.1
end if
gross pay = gross pay + increase
write number, name, gross pay
End while
Decision Table
While employee records left in do
read number, name, gross pay
do Table
Gross pay <= 900 Y N N
Gross pay <= 1,900 – Y N
Percent 20 15 10
End table
Gross pay = gross pay .*… (1+percent increase/100)
Write name, number, pay
End while
Decision Tree
Place an order in 3 easy steps. Takes less than 5 mins.