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

What is black box testing, and what are the various techniques?

717


Can any one suggest how to write the bug reports effectively by optimizing what we want to describe?

1538


What is manual testing and what is it process?

1034


iam having 2+yr sof exp in manual testing, at present working in chennai,want to relocte to hyd .if any openings let me know.my id : vaniramymail.com

1619


can u write some high level scenarios on ms outlook express

2277






hai friends can u expalin about real time process of testing at the company, like flow diagram

1607


Enlist some bug status along with its description?

719


i want to for technical interview question paper along with in tesrviwe Phases i need

1484


If anyone have attended interview with deloitte for the post of senior manual test engineer. Please share the interview process and the questions asked. How to prepare for the interview. Thanks in advance

4388


What is test out put?

1598


Can any1 tell me suppose u r doing manual testing on unix platform with Shell Script, then how it is done? How u r implementing it & what is the use of Shell scripting on Manual Testing?

3467


Can any one give a summary of testing a territory management system? what would be the test scenarios, few test cases. how it works.

1524


What is the difference between Sleep and wait in winrunner what is integration testing and types of testing present what is system testing what is data driven testing what is functionality testing if requirements are given to you then how do you write the test cases for it Account number = Ok cancel For above given form the valid account number starts from 1 to 1000 so is it necessary to input the 1,2,3 ….998,999,1000 test cases to check the conditions of valid account numbers I,e is it compulsory to write 1000 test cases for the above form

2129


When the GUI Testing will be held on the V model ?

1713


What is test driver and test stub?

692