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;

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

When will the testing starts?

1088


What is test plan and contents available in a test plan?

1210


There is only requirements document. You have 10 days and 8 resources to release the system.At the end of the 8th day u tell ur TL that system is ready for release. How will you proceed with the testing process or in other words what all approach you will follow once you get requirements

2126


In simple steps how will you do unit testing using VSTS?

1266


How will you do beta testing?

1033


What is early testing?

1099


in the account there is 10,000 rupees and i entered 20000, in this case how will you test the application

1669


Hello everybody, How many people do you think one sprint team can have in average?

1711


I have 2+ year of work exp in manual testing and i have good knowledge in QTP.anybody have requirement in your company please please tell me

1912


What's the difference between system testing and acceptance testing?

1218


what is the general pattern of explanation of projects in interview, can u ans me plz.......... ex: online banking application

2078


How does compatibility testing differ while testing in Internet explorer and testing in Firefox?

3264


Explain what is exhaustive testing?

1279


Zenq interview questions for manual testing

1899


what r the measure bugs found in your project??? Give some example abt this.

4939