ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Manual Testing
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions
 Manual Testing interview questions  Manual Testing Interview Questions
 QA Concepts interview questions  QA Concepts Interview Questions
 Mobile Testing interview questions  Mobile Testing Interview Questions
 Test Cases interview questions  Test Cases Interview Questions
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions
 Testing AllOther interview questions  Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Vrfrens01
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
Listen i will tell u a basic funda:

Cylometric complexity is THE NO. OF LOOPS + 1

so in the question u have to check how many loops r present.

if its 1 then the ans is 2

if its 0 then the nas is 1
 
Is This Answer Correct ?    3 Yes 2 No
Sriharsha
 
  Re: 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
# 2
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 ?    6 Yes 4 No
Roshni
 
 
 
  Re: 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
# 3
It is actually 

No.of edges - No. of Nodes + 2
 
Is This Answer Correct ?    1 Yes 0 No
Faisal
 

 
 
 
Other Manual Testing Interview Questions
 
  Question Asked @ Answers
 
How do you test cases for mobile handsets ? SoftSol1
What is Test Suite? Digient-Technologies4
Give me some sertification courses in testing?  2
wat is another name of retesting can we callit a retesting also  6
How does one do Functionality Testing?  3
Which Tests the whole system rather than software? a.)Blackbox testing b.)Whitebox testing c.)Stress testing d.)Mutual testing AMDOC3
what is Softwar Audit?  4
Hi , Am Working in Testing(manual) in one of company in chennai and am testing on web portals i.e our company own products.So am testing manually . can i know My Designation is SOFTWARE TEST ENGINEER OR QA ENGINEER ?  3
How do u prepare test environment for ur application? Infogain2
What is the difference between bug,defect, error, failulre, fault & mistake? AZTEC4
what are the bugs we canot find in black box.  4
what is version 1  11
When a defect is assign as Postponed and differed. explain with example? thanks  2
What might be the reasons for changing the status of a bug to " NOT A BUG " ? Accenture9
What is the example of Integration Testing? Object-Orb2
What is Data Flow Testing? MBT4
EXPLORATORY testing means?  7
How will be the communication between the testers and developers while found a bug?  2
May i know high priority&low seviarity,high seviarity&low priority iGate11
What is the difference between validation and verification?  2
 
For more Manual Testing Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com