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

our testing team is very very small(how do u initiate the team members

1 Answers   HP,


what is acid testing?

0 Answers   Syntel,


1.what is test scenario? if possible give me some documents? 2.what's the difference between test scenario and frs?

3 Answers  


What is your framework of current project

3 Answers   Cap Gemini,


If any feature is removed from the application then also tester have to do Regression testing?

4 Answers  






what is the meaning of compatibility testing in view of web application testing?

12 Answers   MBT,


What are the different is manual database checking types?

0 Answers  


Why performance testing is performed? What are tools of performance testing?

0 Answers  


What do u mean by Functional Testers and Performance Testers? Need the Answer Immediately. Thank u

6 Answers  


What are the advantages of black box testing?

0 Answers  


Is the regression testing can call it as Retest

7 Answers   Wipro,


Which is the best institute for testing tools in hyderabad ? mindq or akhilreddy or qa planet?

3 Answers  


Categories