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...

Find the Cyclometric complexity on the following p
seudocode

Do while records remain
read record;
if record field#1=0
then process record;store in buffer;
incremental counter;store in file.
reset counter;end if end do

please let me know the procedure too.

Answer Posted / roshni

The answer for this is 3

3 formula's to calculate Cyclomatic complexity. You can
choose either of them...
C.C = No of bounded regions +1
C.C = No of edges - No of nodes +1
C.C = No of predicate Nodes +1

Now let's consider the first formula to calculate as the
rest 2 diagrams require flow graphs to be drawn.

Do while loop forms 1 bounded region
and IF condition forms 1 bounded region.

So as per this formula, C.C = No of bounded regions +1
2 + 1 = 3

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain test metric and the information it provides.

1194


What is the test case?

1180


what are the 3 test tool categories and describe what each can do.

2490


What is the difference between coupling and cohesion?

1197


According to RBI rule how much money can be transferred through online banking at one time...?

2954


Can you explain the elementary process?

1223


Please Tell me About Fish-Bone Model. Thanks in Adv.

1978


Can some one help me writing a manual test case for email applications like yahoo i need for www.everonn.com

2075


What is black box testing, and what are the various techniques?

1253


What is a code walk through?

1170


How we test the bulk of contents in web page using manual testing? Is any open source tool available for that ? Thanks in advance..

2137


What is reverse engineering?

1278


Do write a separate test case for regression testing? If it is yes, explain how to write the test case?

1257


Can you explain steps in function points?

1171


What is a top-down and bottom-up approach in testing?

1277