Based on an input-process-output model, expand the Compute salary function in Figure 13.2 and draw a data-flow

Question:

Based on an input-process-output model, expand the Compute salary function in Figure 13.2 and draw a data-flow diagram that shows the computations carried out in that function. You need the following information to do this:

■ The employee record identifies the grade of an employee. This grade is then used to look up the table of pay rates.

■ Employees below a particular grade may be paid overtime at the same rate as their normal hourly pay rate. The extra hours for which they are to be paid are indicated in their employee record.

■ The amount of tax deducted depends on the employee’s tax code (indicated in the record)

and their annual salary. Monthly deductions for each code and a standard salary are indicated in the tax tables. These are scaled up or down depending on the relationship between the actual salary and the standard salary used.

Step by Step Answer:

Related Book For  book-img-for-question

Software Engineering

ISBN: 9780321313799

8th Edition

Authors: Ian Sommerville

Question Posted: