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 test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?

4595


1.1 Purpose This tool is also a simple tool, but will be graphics- intensive, and will access the 3 databases (card databases) used in Tarot. 1.2 Scope Only for registered user. 1.3 User Interface - No questions asked, parrot pulls out tarot card - Inside Parrot application, User just have to click on a link saying ""XXXX"" to activate the tool. - Shown is the card of the day, from pack of Tarot cards(78 in number) with fixed graphics, animation, audio. Output: - Graphic-rich display of randomly selected card with detailed meaning, with links to tarot tool. - Graphics: Flying / walking parrot, emerging and choosing a card, displaying the same, and continuing to interact based on card meaning. - The cards also need to carry a brief 1/0 meaning, which will trigger a 1/0 behavior from the parrot (sympathy/making fun/crying or congratulating/smiling/winking)

1467


Write the test case for a login page?

719


Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com

3310


How would you do " Keeping two folders in sync testing"

1985






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);

1925


How should I maintain the test cases and Test Log for different versions/builds of the application.

1956


hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ

1808


Write test cases for 8+4?

742


Write a test case of login window?

703


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

1523


can anybody help me how to write a test case for a program eg: c or C++ ,and also how to check their outputs

2075


i m a fresher working in healthcare industry. here we hve no tool for testing. how i ll do manual testing?plz suggest anyone me urgently... i knw to write test case bt i dont knw where to write n how to execute it manually

5898


Write test cases to test a browser app

1246


What are semi-random test cases?

846