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
Can you do system testing at any stage of sdlc?
What is six sigma?
why testcases are written and what is the importance?
How will you do beta testing?
How do you perform configuration management with typical revision control systems?
Can you explain the elementary process?
Hello testers I am an Bsc Hotel mgmt Degree holders but now am doin my software testin programme, side by MCA Master degree an have 6 months exp i testing in company.. i want to change my CV according IT based. so can anyone help me with sendin any sample CV of urs.. do me this favour it wil be very helpful for me prepare CV for interviews....
What is sanity?
When we are recording in WinRunner and interact with the AUT, what does WinRunner do?
i heard that mainframe testing is diff from other environments & has lot of keyboard input????pl clarify my doubt & let me know in what way its diff??
Hi there, I am new to the world of testing. Is there any place where I can have a look at an actual specification documents or test plans or test cases. This will help me in generating a level of confidence. Looking forward to your replies
Give me an example of something you tried at work but did not work out so you had to go at things another way.
what is the relation between all tabs in quality center & explain the testing process in quality center with tabs?
Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed Just want to highlight, i am looking for a test case writing technique for above scenario.
Q) Create Preffered customer: As a customer when i purchase more than $5000 in goods since my first purchase, I become a preffered customer so that i can receive the benefits associated with that status.