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

Write Test Cases for Vendor Machine, which inputs 50 - Pepsi 1 - Cock 1.50 - 7Up Test Cases should cover all the Boundary Value Analysis, Equivalence Partitioning, etc.

1 Answers   Aspire,


Hi everyone.This is one of my interview questions.Could you please send me the answer for this?My ID:spam4rekha@gmail.com Q : what is BVA and ECP ? Thank You rekha

4 Answers  


who are the final deliverables to the client?

3 Answers  


what is test condition?how do u rank a test condition?

12 Answers   Logica CMG,


what are the things we consider when perform the UI testing of any web application please suggest me with basic things?

1 Answers  


whatis the diffrence bug ,error,defect

18 Answers   Manhattan,


I have to write test cases for Create User, Edit User, Delete User etc. Some of the steps for Create & Edit User are same. Then Should I write refer Create User [test case Id] for common test steps to write Edit User Test case? OR I have to write separate test steps even though they are repeatable in Create user & Edit User test case.

3 Answers   Emphasis,


please make me understand what is client server and web application?

1 Answers   HCL,


What is the Major difference between Sanity and Smoke Testing

7 Answers  


What are the common defects revealed in Functionality testing?

2 Answers   AppLabs,


what is scenario????

6 Answers  


What is defect clustering

3 Answers   Genpact,


Categories