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 / guest

Answer is a

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is quality control?

725


difference between change management and configuration management

1578


how can u prepare the test plan?

1787


Usually customers won’t give all the requirements. How will you manage & collect all the necessary information?

757


hi, I m looking for a career in manual web testing. so PLZ anybody who have the practical knowledge of dis field help me. GIVE ME UR MAIL ID so that i can ask regarding some doubts. my MAIL ID is ankurtester819@gmail.com

1466






What is quality center? What are the modules of quality center?

675


Hi, this is not a tech question, i have 4 yrs of experience in Mainframe systems, presently as a mainframe tester in pune, i just want to step towards south locatios(preferable hyd), suggest me the best way to get calls from hyd.

1647


Different types of design diagrams that supports to write test cases ?

1871


What is the most important phase in STLC and Why

1169


through which phases a software ttester need to pass like as a junnior test engineer,team lead,project lead,etc.? which is the final stage of your promotion and how will u achieve?

1647


Describe any bug you remember. Plz Give some real examples

1639


Hi Friends, I have completed 3 rounds of an Interview with HR discussion also and got Offer letter from Cognizant, but after in 30 min they send one more email like Offer is on Hold, and its not valid... Could you please guide me any one , Can i expect Offer again from Cognizant or Can i drop the hopes ?.

1376


Could anyone share FAQs for Test Manager position...

1644


I am a ISTQB cerfity tester with 3 yrs experience(kolkata) , I left my current commpany due to some problem but since two months I did not get new job , why? is my age is 33 yrs and I am married . If anybody have any answer please let me know, my email id sangitadas1981@gmail.com/yahoo.co.in

1635


what is fusion testing and impact analysis???

1680