exam questions

Exam CTFL v4.0 All Questions

View all questions & answers for the CTFL v4.0 exam

Exam CTFL v4.0 topic 1 question 27 discussion

Actual exam question from ISTQB's CTFL v4.0
Question #: 27
Topic #: 1
[All CTFL v4.0 Questions]

You are using boundary value analysis to determine your test data.
What values should you use to test a routine that requires an integer input (x) to be greater than zero and less than 100 to achieve 100% minimum coverage using the two-point boundary value analysis technique?

  • A. 0, 100
  • B. -1, 1, 99, 101
  • C. 0, 1, 99, 100
  • D. -1, 0, 1, 99, 100, 101
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
user2524241
Highly Voted 8 months, 2 weeks ago
Can somebody explain this answer? Given that "In 2-value BVA (Craig 2002, Myers 2011), for each boundary value there are two coverage items: this boundary value and its closest neighbor belonging to the adjacent partition. To achieve 100% coverage with 2-value BVA, test cases must exercise all coverage items, i.e., all identified boundary values. Coverage is measured as the number of boundary values that were exercised, divided by the total number of identified boundary values, and is expressed as a percentage." it seems like it should be 0, 1, 99, 100 by the options given..
upvoted 12 times
...
elen4eabv
Most Recent 4 months, 4 weeks ago
I thin the answer is C Invalid range- 0 -> test values: 0 Valid range 1 - 99 -> Test values 0,1, 99, 100 Invalid range 100 to inf -> test values: 99, 100 to sum up: 0,1,99,100 C has all there values, nothing more nothing less
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...