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

Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1

6 Answers   Sun Microsystems,


what is strcture i++ i ++i answer to this i=5 what is the out put

6 Answers  


What is Object Oriental Progam

2 Answers  


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.

8 Answers   MBT,


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

0 Answers  






Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.

0 Answers   GE, Infosys, Microsoft, NIM,


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

17 Answers   Config Systems, Google, Wipro,


Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }

1 Answers   Sun Microsystems,


what are you now programming Languages C+

1 Answers   HCL,


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

0 Answers  


What does stl mean in slang?

0 Answers  


what is an algorithm in terms of STL?

1 Answers   Lucent, Wipro,


Categories