if x<>=z
then statement
end
what is the cyclomatic complexity

Answers were Sorted based on User's Feedback



if x<>=z then statement end what is the cyclomatic complexity..

Answer / dhanesh

The Answer is 3

Is This Answer Correct ?    24 Yes 6 No

if x<>=z then statement end what is the cyclomatic complexity..

Answer / bob

A: 3

1st decision statement : x<>z
2nd decision statement : x=z

Please consider that the easiest way to calculate McCabe's Cyclomatic Complexity is to sum the number of binary decision statements (if, while, for, etc) and add 1 to it.

Therefore 2 statements + 1 = 3. The answer is 3.

Is This Answer Correct ?    17 Yes 4 No

if x<>=z then statement end what is the cyclomatic complexity..

Answer / cyber

X >Z
X< Z
X=Z

Is This Answer Correct ?    6 Yes 2 No

if x<>=z then statement end what is the cyclomatic complexity..

Answer / susmitha

3

Is This Answer Correct ?    6 Yes 4 No

if x<>=z then statement end what is the cyclomatic complexity..

Answer / rupenzal

Ans:2

1st path is when x<>z
2nd path is when x=z.
Therefore answer is 2.

Is This Answer Correct ?    16 Yes 15 No

Post New Answer

More STL Interview Questions

How connect plc and pc through software

0 Answers  


What is the name of your birth place?

0 Answers  


How the STL's are implemented, What the difference between templates and STL?

1 Answers   Symphony,


What is a standard template library (stl)?

0 Answers  


Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }

1 Answers   Sun Microsystems,






What is a list in c++ stl?

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++

1 Answers   Syntel,


Define the terms: field, record, table and database

5 Answers  


What does stl mean in slang?

0 Answers  


differentiate between private, public and protected data members of the class using example.

1 Answers  


What is the use of stl?

0 Answers  


What is Constructor

14 Answers   Angel Broking,


Categories