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

wht r 6 sigma standards

4 Answers  


What is PLC testing? since there are job openings in this area Please let me know what it mean and some more related information.

2 Answers  


Which are different types of review ?

7 Answers  


1. What is the difference betwwen Test condition and Test Scenario 2. What is the differnce between Test Conditon and Test Scenario

1 Answers   Ness Technologies, Saitech Data Systems,


What is the difference between a Test Plan and a Test Strategy?

6 Answers   Symphony,






Hi, can any tell how a tester can be judged? i have to interview a tester, how should i judge whether he has a justified experience or not? how a person with 3 years of experience in manual testing can be judge?

0 Answers  


What is the meaning of incident in testing?

9 Answers   Alcatel, Cambridge,


what is the use of this application?

2 Answers   Wipro,


what is negative testing and positive testing with example?

2 Answers  


what is validation and verification.??

6 Answers  


About Testing

0 Answers   Syntel,


We can check many things in one test case, then Is it necessary to write separate test case for checking each functionality? Example : For Login Window --> Test Case is---> 1) Enter valid user id & password --> For this expected result --> 1) User should login. My question --> while executing above valid test case, we can expect more than one result such as "Visibility of password should be as ****" So Should I have to write separate test case for "Visibility of Password" OR Not? Please guide me properly.

5 Answers  


Categories