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

what is use of for loop?

9 Answers   Wipro,


what is template and type convertion

0 Answers   TATA,


Why should a c++ programmer be interested in stl?

0 Answers  


What are stl algorithms?

0 Answers  


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

1 Answers   Syntel,






Distinguish between: a) Normal layout & Print Layout views b) Windows Clipboard & office Clipboard c) Save & Save As Commands d) Program File & Data File e) Pie Charts & Barr Charts

0 Answers  


i want a road rash 3d game code if some one know please help me

1 Answers  


How to write a function that goes through an array of characters and eliminates any elements that are not letters (Legal letters can be either in an uppercase or a lowercase format.) The function removeNonLetters should return the new effective size of the array as the result.

2 Answers  


Write a program to print the swapping in two no and using three variable.

5 Answers   Broadridge,


Name the different types of stl containers.

0 Answers  


Is stl open source?

0 Answers  


What is Object Oriental Progam

2 Answers  


Categories