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 |
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?"
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
How connect plc and pc through software
What is Object Oriental Progam
if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.
what is the acronym of the term 'C.O.M.P.U.T.E.R' ?
17 Answers Config Systems, Google, Wipro,
Explain when u will use Observer pattern and how u will implement in c++ .
What is Template Specialization?
Can we use stl in coding interviews?
how to get the sum of two integers?
What does stl mean in slang?
5. Write c++ function that would intake a string and return the number of occurrences of a given character in that sring Ex:- if the word is “Colombo” and count the occurrences of the letter “o” the function would return 3