CTFL v4.0 Practice Test

CTFL v4.0 Practice Test practice questions, page 6 of 11, with answer review and explanations.

Question 26

How is branch coverage determined?

  1. 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
  2. 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
  3. By taking the number of statements in the code and dividing those by the number of branches that have been tested
  4. 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?

  1. 0, 100
  2. -1, 1, 99, 101
  3. 0, 1, 99, 100
  4. -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?

  1. Daily stand-up meetings with everyone
  2. Dashboards connected to the test management and defect management systems that automatically update when a change is made
  3. Email sent out hourly to all team members with red text for any new issues with a “must read” note in the subject line
  4. 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?

  1. Initiating
  2. Planning
  3. Analysis
  4. Fixing

Question 30

Which testing principle provides a good reason to base testing upon risk mitigation priorities?

  1. Testing shows the presence of defects
  2. Exhaustive testing is impossible
  3. Tests wear out
  4. Defects tend to cluster in a few modules