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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sriharsha
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 ? | 4 Yes | 3 No |
What is the test case?
Project had been started in Manual testing and Automation of some fixed modules, Then finally decided to Test the total Application in Automation then it is possible to test that application.
Explain the scenario with example.
What is the difference between client server and web based testing?
i have source and target having same data structure 500 fields and one lacks records. how to validate data. write 5 scenarios.
Hi Friends, I wish to start my career in manual Testing as I believe I am ready to face Interviews.I have good domain knowledge in banking(investment and retail) and insurance.To be in the competition I have added three years of testing experience to my CV apart from my domain experience. Can someone please advice some real time tips which can help in facing the interview. Thanks in advance
What’s the difference between verification and validation in testing?
How was the regression testing done in your project what was the contribution of the regression test effort for the whole quality improvement?
What are the technics used for writing a test cases
I was asked with 4+ expeirence - How did you involve in implementing QA Standards and guide lines in ur project.
do u know abt integration testing,how do u intregate diff modules?
What is srs and brs document?