if x<>=z
then statement
end
what is the cyclomatic complexity
Answer Posted / 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 |
Post New Answer View All Answers
What are the various types of stl containers?
What are the different types of stl containers?
Who wrote stl?
What is a standard template library (stl)?
What is a stl vector?
how to use C++?
What is stl stand for?
What is stl in oop?
What is a list in c++ stl?
What two types of containers does the stl provide?
What does stl mean in slang?
What do stl stand for?
How is stl different from c++ standard library?
When did c++ add stl?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.