Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is cyclomatic complexity? plz explain with example

Answer Posted / keerthana

example
int a,b;
a=10,b=20;
if(a<b)
{
printf("a is greater");
}
else
{
printf("b is greater");
}
draw the flow chart for this program and count number nodes
in the flowchart.
the formula is v(G)=E-N+2P
E is edge
N is number of nodes
p predicated node
for eg
V(G)=E-n+2P
4-4+2=2
the path of the program is 2 we got write answer

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anyone list out major scenarios for an application managing drug composition?

1964


Hi, I am planing to give ISTQB - Foundation level exam. Can anyone forward the ISTQB materials at laxmi_002@rediffmail.com mail ID.

1921


value momentum

1790


What is the difference between load testing and performace testing?

1184


What do you do (with the project tasks) when the schedule fails?

3087


Explain user acceptance testing.

1151


What is rapid application development model (rad)?

1317


What is configuration management in software testing ?

5511


I have to give weights to 5 stones so that using a simple balance and the stone i should be able to weight any number between 1-100

2296


What are the advantages of automation over manual testing?

1180


what is the difference between website and web based application ?

2783


what is your daily activities?

2138


What r the documents required for performance testing

2285


can we do database testing in manual testing? then how we write the test case?

6902


please send me database stored procedure checklist.

2908