CTFL v4.0 Practice Test practice questions, page 6 of 11, with answer review and explanations.
Question 26
How is branch coverage determined?
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
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
By taking the number of statements in the code and dividing those by the number of branches that have been tested
By counting the number of branches in the code that have been tested
Question 27
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?
0, 100
-1, 1, 99, 101
0, 1, 99, 100
-1, 0, 1, 99, 100, 101
Question 28
You are working with a geographically and time zone distributed team. It is important that the entire team always have access to the latest test execution information. Which of these is the most appropriate method for communicating that status?
Daily stand-up meetings with everyone
Dashboards connected to the test management and defect management systems that automatically update when a change is made
Email sent out hourly to all team members with red text for any new issues with a “must read” note in the subject line
Formal test reports issued each week with trend charts and residual defect status information
Question 29
During which activity in the review process are the quality characteristics selected for evaluation?
Initiating
Planning
Analysis
Fixing
Question 30
Which testing principle provides a good reason to base testing upon risk mitigation priorities?