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 Posted / toshimathur

B

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write a test cases for Quick links like Feedback/Suggestions Advertise with us Contribute Invite a Friend FAQs Make HomePage RSS Feed Buzz Words Email Privacy Statement Terms & Conditions Copyright Disclaimer Download Forgot Password

2570


How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen

1721


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

2474


How to test a stored procedure?

638


explain end to end scenario's for online Money transfer in Banking Domain?

1396






Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu

1773


What is the syntax testing?

684


1 Tarot 1.1 Purpose - Tarot tool will duplicate the tarot-reading process for the user online. - Tarot is a craft that uses a deck of 78 cards to predict a user’s past, present and future. - The cards are picked by the user and arranged in a specific spread, which represents points in his past, present, and future; based on the meanings of the cards selected, interpretations are given. 1.2 Scope Only for registered user. 1.3 User Interface User Interface: 1. Question – This is only for user experience, and has no bearing on the formulae / process. Simple long text box. 2. Selection of field – radio button selection of 1 of 3 choices(Love, Career, Personal), which affects 1 of 3 card- meaning databases to be used. After selection, the unselected databases do not affect or interact with the system. 3. Spread Selection – radio button selection of 1 of 3 choices(Celtic Cross, Horse Shoe, Simple 3 Card). This determines the number of cards being picked and the specific spread database to be used. This also affects the specific report format being used, as well as the card- selection GUI. 4. Card Selection – based on the input 3, a specific layout is shown where the user needs to identify X number of cards (X also determined by input 3) which are then shown in the spread. Every card selection identifies the spread position constants (A, B, C, etc) with specific variable values (Card numbers) creating an array. Report format will display on a separate new page, in the following sequence – - Statement of question asked - Selection of field - Selection of spread - Detailed description of position data, positions identified as per spread selection - Card meaning as picked in field selection 1.4.5 Interfacing/Sourcing Details 1.4.5 Rules and Conditions - Data needs to be calculated for all fields, but only a maximum of 3 cards data should be shown in the free report. For the rest, a payment would be required. - Payment reports not in phase 1 - The report needs to be emailable (so functionality to convert to text file / html document should exist, which will then be emailed to the user’s email address).

2228


Write a test case for telephone?

682


what is the technology used in financial applications?

2901


Can anybody help me out to write test cases for booking train ticket online???

5252


If userA send a string through whatsapp but userB is not getting properly the string, Then what may be problem? Can someone write testcase of this. Both whtsapp application is same version and OS is also same android version.

1553


How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

1525


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List { } public RoadNetwork : List { } public RoadNetwork Concatenate(RoadNetwork roads);

1927


pls i want test cases for oss? whts the process of oss testing

2001