Disc = 0

Order-qty = 0

Read Order-qty

If Order-qty >=20 then

Disc = 0.05

If Order-qty >=100 then

Disc =0.1

End if

End if

A. Statement coverage is 4

B. Statement coverage is 1

C. Statement coverage is 3

D. Statement Coverage is 2

Answer / toshimathur


Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

how to write system test cases for a pen

3 Answers   IBM,

Can any one please tell me what is the use of negative test cases when we are giving the invalid input in test data

3 Answers  

For how many days (or) weeks you will test a product or software?

0 Answers  

write down test cases for "x>=1"

6 Answers   Quexst,

Can any one tell me how to write test data. i mean, to test each input, 2 test input(1 for +ve, & other for -ve) are given. so , for example, if i want to write test data for login form, how many test data should i write in test case?

0 Answers   Nike,

write a navigation for object repostory

4 Answers  

There is a game in that there are 20 levels an ordinary person can play it up to 12th level.So if you are a tester and if you have to test that game up to 20th level then how u can test that game.

0 Answers  

Write a test cases on a facebook

8 Answers   Maveric, CTS, Accenture, Intel, TCS, Inventures,

How many bugs have u found in your project?

3 Answers  

can one give the test cases for Installation Testing

1 Answers  

how we test the login page using jwebunit test case...

0 Answers   CTS,

in test case we would write log and login ?what is the dif bet both of them

0 Answers