Question:

The term cyclomatic complexity is related to

Show Hint

Cyclomatic complexity helps in understanding the complexity of a program's control flow and is particularly useful in software testing to ensure complete path coverage.
Updated On: May 4, 2025
  • Complexity of branch and bound strategy
  • Software testing
  • Software maintenance
  • Complexity of the algorithm in finding the cycles in a graph
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

- Complexity of branch and bound strategy: Branch and bound is used in optimization problems, not related to cyclomatic complexity.
- Software testing: Cyclomatic complexity is used in software testing to measure the complexity of the program's control flow and determine the minimum number of test cases required to achieve complete branch coverage.
- Software maintenance: Cyclomatic complexity is more useful for testing and analyzing software rather than for maintenance.
- Complexity of the algorithm in finding the cycles in a graph: Cyclomatic complexity is not specifically related to finding cycles in graphs, it relates to program control flow.
Therefore, the correct answer is 2. Software testing.
Was this answer helpful?
0
0