retagged by
5,041 views
5 votes
5 votes

Consider the following statements about the cyclomatic complexity of the control flow graph of a program module. Which of these are TRUE? 

  1. The cyclomatic complexity of a module is equal to the maximum number of linearly independent circuits in the graph.
  2. The cyclomatic complexity of a module is the number of decisions in the module plus one, where a decision is effectively any conditional statement in the module.
  3. The cyclomatic complexity can also be used as a number of linearly independent paths that should be tested during path coverage testing.
    1. I and II
    2. II and III
    3. I and III
    4. I, II and III
retagged by

1 Answer

7 votes
7 votes
ans: b) 2 and 3

In 1, it should be "path" and not "circuit".
edited by
Answer:

Related questions

12.9k
views
4 answers
14 votes
go_editor asked Sep 29, 2014
12,916 views
The cyclomatic complexity of each of the modules $\text{A}$ and $\text{B}$ shown below is $10.$ What is the cyclomatic complexity of the sequential integration shown on the right hand side?$19$21$20$10$
3.0k
views
2 answers
4 votes
Ishrat Jahan asked Oct 31, 2014
3,006 views
The cyclomatic complexity of the flow graph of a program providesan upper bound for the number of tests that must be conducted to ensure that all statements ... be conducted to ensure that all statements have been executed at least once
8.3k
views
2 answers
11 votes
Kathleen asked Sep 22, 2014
8,312 views
Which of the following statements are TRUE?The context diagram should depict the system as a single bubble.External entities should be identified clearly at all levels of ... to an external entity.II and IIIII and IIII and IIII, II and III
14.2k
views
3 answers
1 votes
Kathleen asked Sep 22, 2014
14,170 views
The coupling between different modules of a software is categorized as follows:Content couplingCommon couplingControl couplingStamp couplingData couplingCoupling between modules can be ranked in ... -IV-III-II-II-III-V-II-IVIV-II-V-III-I