ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 150 - CTFL4 discussion

Report
Export

A bank offers a savings account with various interest rates based on the current balance in the account. The balance ranges and respective interest rates are:

Up to $100.00 =2%

$100.01 to $500.00 = 4%

$500.01 to $1,000.00 = 5%

Above $1,000.00 = 7%

Using two-point boundary value analysis, which of the following sets of test inputs provides the relatively highest level of boundary coverage?

A.
$5.00. $100.00, $499.99, $1,000.00, $1,000.01
Answers
A.
$5.00. $100.00, $499.99, $1,000.00, $1,000.01
B.
$100.00. $100.01, $100.02, $500.00, $999.99
Answers
B.
$100.00. $100.01, $100.02, $500.00, $999.99
C.
$100.00, $500.00, $1,000.00, $1,000.01
Answers
C.
$100.00, $500.00, $1,000.00, $1,000.01
D.
$5.00. $100.00, $500.00, $1,000.01
Answers
D.
$5.00. $100.00, $500.00, $1,000.01
Suggested answer: B

Explanation:

Boundary Value Analysis (BVA) is a software testing technique in which tests are designed to include values at the boundaries. The concept is to focus on the boundaries since errors tend to occur at the edges of input ranges rather than in the middle.

Given the problem statement:

Up to $100.00 = 2%

$100.01 to $500.00 = 4%

$500.01 to $1,000.00 = 5%

Above $1,000.00 = 7%

Two-point boundary value analysis means testing the two boundaries of each range.

For each range:

The boundaries for 'Up to $100.00' would be $100.00 and $100.01.

The boundaries for '$100.01 to $500.00' would be $100.00 and $500.00.

The boundaries for '$500.01 to $1,000.00' would be $500.00 and $1,000.00.

The boundaries for 'Above $1,000.00' would be $1,000.00 and $1,000.01.

Now, let's examine the options:

A . $5.00, $100.00, $499.99, $1,000.00, $1,000.01

Missing $100.01 and $500.01.

B . $100.00, $100.01, $100.02, $500.00, $999.99

Covers $100.00, $100.01, $500.00, $1000.00, and $1000.01.

C . $100.00, $500.00, $1,000.00, $1,000.01

Missing $100.01 and $500.01.

D . $5.00, $100.00, $500.00, $1,000.01

Missing $100.01 and $500.01.

Given the options, B provides the highest boundary coverage (ISTQB not-for-profit association) (Udemy).

Certified Tester Foundation Level v4.0

10 Sample Exams ISTQB Foundation Level (CTFL) v4.0

asked 18/09/2024
ajay jaiswal
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first