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


Q) If pseudo code below a programming language. what test
case s are
required to achieve 100% statements coverage
If x=3 then
display_message x;
If y=2 then
display_message y;
else
display_message z;
else
display_message z;



Q) If pseudo code below a programming language. what test case s are required to achieve 100% s..

Answer / mudaseer

action

please enter value of x

enter x=3 then

expected result

it should display x

please enter value of y

y=2

expected result it should display y

if x=other than 3 or y is other than 2
expected result

it should display z


Is This Answer Correct ?    9 Yes 7 No

Post New Answer

More Manual Testing Interview Questions

what is the good answer for authentication and authorization?

5 Answers  


how we maintain buid versions without using CVS or any other tools ? are tools neccesary for maintaining versions?

1 Answers   HCL,


What is diference u get in Web based appln testing when compared to Windows based appln.

2 Answers  


How do you go about testing a web application?

2 Answers  


How to do the performance testing manually? Does you have a test case for that?

0 Answers  


what is statergy?

3 Answers   Infosys,


hi frnds! can any one help me by answering the below questions. 1.what is client server testing ? 2.what is web-based testing and what exactly tested in this ? 3.and exact difference between these two type of testing methods i can be reached on shrinivaster@gmail.com if any help needed from my side. thanks shri

3 Answers   Samsung,


What is the maximum length of the test case we can write?

4 Answers   Sonata,


what is performance testing?

2 Answers   Crea,


what is the difference between object rpository and object spy in QTP?

2 Answers   ITC Infotech,


How can a tester knows that,these testcases are enough for this build or there is no testcases to be written or to stop the testcases now?

3 Answers   VJIL Consulting,


any one can explain error guessing..?it depends on validation or functional testing? give one example ..?

3 Answers  


Categories