Can u any 1 please explain the below question and answer?
Given the following code, which statement is true about the
minimum number of test cases required for full statement and
branch coverage?
Read p
Read q
IF p q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
a) 1 test for statement coverage, 3 for branch coverage
b) 1 test for statement coverage, 2 for branch coverage
c) 1 test for statement coverage, 1 for branch coverage
d) 2 tests for statement coverage, 2 for branch coverage
Answer Posted / jyoti
Yeah , answer in D , since two question have been asked ,
and 2 branches we are covering , since statement coverage is
class, and Branch coverage that we are covering all if
statement and there are two if's
Please let me know if anybody finds this is wrong
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is Wound Fixing?
can any body tell me what is the process of between after getting a documents and testcase writing.
Explain the sub-genres of performance testing?
What is the big deal about ‘requirements’?
What is Registry?
Have you worked in UDAP (Credit Card act 2009) project?What did you test in Billing & Payment modules?
functional testing test cases for transfer funds ?
Give me sample test cases for smoke testing
Suggest some book to learn more test case???
How we will do Memory Testing? There is any tool to do that testing and to whome this testing to be performed?
Katari your questions was really helpful could you please send the questions and answers with them . Can anyone sends the top 30-40 question and answers for the interview purposes
Unix question: 1)command to print a list of files containing a particular word. 2) what does a .profile mean. 3) what is a file server? 4) Command to move towards left in vi editor explain grep and find commands using example.
I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?
What are differences in testing a client server and a web application?
Hi Friends, This is Chennamsubbaraidu.i Have 2+ Years Realtime Exp in Manual Testing.Am Looking to Shift From My Present Company.Please if u Have Any Openings in Your Company's, Please Let Me Know.Any Location Prefer.Thanks.