Question: Software engineering 2. (a) Consider the following program to calculate tax. Generate test data for () path test and (ii) equivalence partitioning test. As input,

Software engineering  Software engineering 2. (a) Consider the following program to calculate tax.
Generate test data for () path test and (ii) equivalence partitioning test.

2. (a) Consider the following program to calculate tax. Generate test data for () path test and (ii) equivalence partitioning test. As input, you are given the amount of taxable income.(30 points) Tax--0; If1axable-income=0 then Tax=0; If Taxable-Income 10000 Then Tax-Tax+1000 Tax=Tax+0.10*Taxable-income Else If Taxable-Income 20000 Tax-Tax+ 1200 Tax=Tax+0.12*(Taxable-income-10000) Then ELSE If Taxable-Income>30000 Tax=Tax+1500 Tax-Tax-+0.15*(Taxable-Income 20000) Then ELSE If Taxable-Income

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 Databases Questions!