In a software system that calculates the tax to be paid to employees:

An employee has 4000/- of salary tax free.
The next 1500/- is taxed at 10%.
The next 20000/- is taxed at 25%.
Any further amount is taxed at 40%.
Which of these is a valid Boundary Value Analysis test case?

Options
- 20000
- 25500
- 24001
- 1500


CORRECT ANSWER : 25500

Discussion Board
Software testing

Answer: 25500
Solution: If employee’s salary between 0 to 4000 then tax is free
And if employee’s salary between 4001 to 5500 then tax is 10%
And if employee’s salary between 5501 to 25500 then tax is 25%
And if employee’s salary is greater than 25501 then tax is 40%
Therefore, the valid boundary value test case is 25500


Rohit Srivastava 07-23-2014 01:56 AM

25500 is the correct ans. Find its answer below.

Boundary value is just below or Just above the extreme edges of input Data
So As Salary 4000 is tax free
next 1500 is taxed at 10% => 4000+1500=5500 taxed at 10%
next 20000 is taxed at 25% =>20000+5500= 25500 is taxed at 25%
any further taxed at 40%
so valid boundary value is 25500.

arpan buch 07-1-2014 02:38 PM

Boundary Value Analysis

I am not getting it!!

Aarif 04-9-2014 02:21 PM

boundary value analysis

am not understand...

lalitha 12-24-2013 05:03 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement