if x<>=z
then statement
end
what is the cyclomatic complexity
Answers were Sorted based on User's Feedback
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 | 5 No |
Answer / rupenzal
Ans:2
1st path is when x<>z
2nd path is when x=z.
Therefore answer is 2.
| Is This Answer Correct ? | 18 Yes | 15 No |
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?
What are the symptoms of stl?
Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"
What is the underlying datastructure of map?
What are stl algorithms?
What is the STL?
Is string part of stl?
#define CUBE(x) (x*x*x) main() { int a,b=3; a=cube(b++); printf("%d %d",a,b); } What should be the value of a and b? My calc a=4 but syst a=6 how pls tell me if you know it?
What does stl mean in slang?
sir please send me bpcl previous question papers
0 Answers BPCL Bharat Petroleum,
what is a template?
2 Answers Amazon, BITS, IBS, Wipro,
Is stl open source?