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
Answer Posted / 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 |
Post New Answer View All Answers
what the purpose of requirement phase
How we will do Memory Testing? There is any tool to do that testing and to whome this testing to be performed?
What is back to back testing?
Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed Just want to highlight, i am looking for a test case writing technique for above scenario.
How will you do beta testing?
What is strategy to be followed for execution of 500 Test Cases in One day. If only 1 Resource is available.
what could be the (realtime)bugs you come across in job portal and health care projects in terms of 1. high severity n low priority 2. high severity n high priority 3. low severity n low priority 4. low severity n low priority? pls its very urgent thanks n in advance n lukin forward for reply
What are the differences between web applications and client and server applications?
What is ofx testing?
How to test whether the application is having memory leakage using task manager and PerfMon. Please tell if any one know. thanku
1.What types of documents would you need for QA, QC, and Testing?
What is build interval period?
Do submit teststrategy to customer if yes at what time
What makes a good software qa engineer?
What is Online gaming, payment gateway development, hosting and custom software development services.