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 26 discussion

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

How is branch coverage determined?

  • A. By taking the number of branches in the code that have been tested and dividing that by the number of total branches in the code
  • B. By taking the number of branches in the code on one path that has been tested and dividing that number by the total paths through the code
  • C. By taking the number of statements in the code and dividing those by the number of branches that have been tested
  • D. By counting the number of branches in the code that have been tested
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
rtg2123
4 weeks, 1 day ago
Selected Answer: A
Coverage is measured as the number of branches exercised by the test cases divided by the total number of branches and is expressed as a percentage.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago