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 statement coverage and branch coverage:
1) Read P
Read Q
if P+Q>100
then print "Plarge"
endif

2. Disc=0
order_qty=0
Read order_qty
if order_qty>=20
Disc=0.05
if order_qty>=100 then
Disc=0.1
endif
endif

Answers were Sorted based on User's Feedback



Find statement coverage and branch coverage: 1) Read P Read Q if P+Q>100 then print ..

Answer / kshama

Hi Nitin,

can you please elaborate ur answer.I am not getting it as
because i don't know how to find statement coverage and
condition coverage. and kindly explain me what all
conditions needs to be keep in mind while find statement
coverage and condition coverage.

Thanks & Regards,
Kshama

Is This Answer Correct ?    2 Yes 1 No

Find statement coverage and branch coverage: 1) Read P Read Q if P+Q>100 then print ..

Answer / nitin

for 1) - For stmnt. coverage we would require only 2 test
case to execute all the stmnts. in section 1.

for 2) For branch coverage we would require 3 test cases.
B'coz for every if condition we need to execute true and
false. So, false condition can be executed in a one go for
both IF condition and 2 test case would be required to
execute true for both IF condition.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More Manual Testing Interview Questions

What is mean by Test Plan? What details will be mention in it?

3 Answers  


what is the difference between use case and test case?

5 Answers  


What are the main key components in web applications?

0 Answers  


What is reference matrix or tracability matrix?

9 Answers   TCS,


When should you opt for manual testing over automation testing?

0 Answers  


what are the bugs we canot find in the black box testing?

2 Answers  


what is mean by defect resolution and its use??

1 Answers   SoftTech,


Describe any bug you remember in an online shopping web application?

3 Answers  


What is meant by SIT?

2 Answers  


Whether the testing process followed in different model will be same or will it vary?

1 Answers  


Hi Guys, I have Cleared with 5 rounds with one company, i also faced an interview for client round, Can any body tel , aftr client round ,wil any body reject a candidate? Hello, y no response for my question.

3 Answers  


How performance testing can be done manually? can anyone answer this question plz?

4 Answers   Infosys,


Categories