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 7 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 / rupenzal

Ans:2

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

Is This Answer Correct ?    17 Yes 15 No

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

Answer / susmitha

3

Is This Answer Correct ?    6 Yes 4 No

Post New Answer

More STL Interview Questions

What do you mean by stl?

1 Answers  


Define stl.

0 Answers  


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

1 Answers   Symphony,


Write a program in C++ to concatenate two strings into third string using pointers

5 Answers  


Who created stl?

0 Answers  






what is the acronym of the term 'C.O.M.P.U.T.E.R' ?

17 Answers   Config Systems, Google, Wipro,


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

0 Answers  


Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list

21 Answers   ABC, Sun Microsystems,


totoo po ba ang manga aliens!

0 Answers  


What are the symptoms of stl?

0 Answers  


what are you now programming Languages C+

1 Answers   HCL,


Can we use stl in coding interviews?

0 Answers  


Categories