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...


If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage?

1. If x=3 then

2. Display_messageX;

3. If y=2 then

4. Display_messageY;

5. Else

6. Display_messageZ;

7. Else

8. Display_messageZ;

A. 1

B. 2

C. 3

D. 4



If the pseudo code below were a programming language ,how many tests are required to achieve 100% st..

Answer / toshimathur

C

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Test Cases Interview Questions

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

0 Answers  


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

0 Answers  


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

0 Answers   CTS,


If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules

0 Answers  


write the test cases for a+b=c?

9 Answers   Aloha Technology, SAP Labs,


For the following piece of code, how many test cases are needed to get 100% statement coverage? Procedure X Read (Color) // Input color from user IF (Color == “Red”) THEN Call Roses(Color) ELSEIF (Color == “Blue”) THEN Call Violets(Color) ELSE PRINT “User is no Shakespeare” SaveToDatabase(Color) End Procedure X A. 5 B. 3 C. 1 D. 2

1 Answers   ISTQB,


what do you mean by test case specification

5 Answers  


test case for open doalog box. thanks a lot!

1 Answers  


How to write test case for this scenario. The data entry field for city shall be removed from the screen

1 Answers   SpinSci,


If there are 10 steps for a test case. and for this test case there are 6 expected results. should I write 6 exp. results in the Expected Result column for a single tes case

4 Answers  


What is the role of QA in a development project?

6 Answers  


how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

0 Answers   IBM,


Categories