Gate CS-2009 Question Paper With Solutions

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

I. The cyclomatic complexity of a module is equal to the maximum number of 
   linearly independent circuits in the graph.
II. 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.
III.The cyclomatic complexity can also be used as a number of linearly 
     independent paths that should be tested during path coverage testing.

(A) I and II

(B) II and III

(C) I and III

(D) I, II and III

Answer: (B)

Explanation:

Gate CS-2009 Question Paper With Solutions

 

 

Learn More:   Gate EE-2013 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here