Presentation is loading. Please wait.

# EP & Boundary Questions

## Presentation on theme: "EP & Boundary Questions"— Presentation transcript:

EP & Boundary Questions
Valid Input: Integers in the range of 100 to 999

EP & Boundary Questions
Valid Input: Names with up to 20 alphabetic characters

EP & Boundary Questions
Suppose you have a bank account that offers variable interest rates: 5% for the first \$1000 credit; 10% for the next \$1000; And 15% for the rest. If you wanted to check that the bank was handling your account correctly what valid input partitions might you use?

EP & Boundary Questions
A mail order company charges \$2.95 postage for deliveries if the package weighs less than 2 kg, \$3.95 if the package weighs 2 kg or more but less than 5 kg, and \$5 for packages weighing 5 kg or more. Generate a set of valid test cases using equivalence partitioning.

EP & Boundary Questions
Boiling point of water is at 100 degrees Celsius. Determine the boundary values Exam pass – for 40 marks; merit at 60 and above; and distinction at 80 and above. Determine the boundary values

Equivalence & Boundary Value based questions
Order numbers on a stock control system can range between and inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries: 1000, 5000, 99999 9999, 50000, 10000, 50000, 99999 10000, 99999 9999, 10000, 50000, 99999,

Equivalence & Boundary Value based questions
In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10% The next £28000 is taxed at 22% Any further amount is taxed at 40% To the nearest whole pound, which of these is a valid Boundary Value Analysis test case? £1500 £32001 £33501 £28000

Equivalence & Boundary Value based questions
A program validates a numeric field as follows: Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. which of the following input values cover all of the equivalence partitions? a. 10,11,21 b. 3,20,21 c. 3,10,22 d. 10,21,22

Equivalence & Boundary Value based questions
A program validates a numeric field as follows: Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. which of the following input values cover all of the equivalence partitions? Using the same specifications as above, which of the following covers the MOST boundary values? a. 9,10,11,22 b. 9,10,21,22 c. 10,11,21,22 d. 10,11,20,21

Equivalence & Boundary Value based questions
Which set of test data demonstrates equivalence partitioning to check whether a customer is a teenager or not? 10, 15 and 19 years 13, 19 and 25 years 13, 16 and 19 years 12, 13 and 20 years

Equivalence & Boundary Value based questions
To test an input field that accepts a two-digit day based on a particular month which data set demonstrates valid boundary value analysis? 0, 1, 16,31 and 100 1, 27, 28, 30 and 31 2, 26, 27, 29 and 30 -1, 0, 15, 32 and 99

Similar presentations

Ads by Google