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
As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?
Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is mean by multi-threading testing?
What is positive and negative testing?
What r the things,u prefer and prepare before starting testing?
Enlist some bug status along with its description?
what is coupling integration testing
What is the difference between qa, qc, and testing?
Hi guys,I have 3+ years of exp in manual testing in a bangalore based MNC company.I Like to jump in chennai.So please if u know any jobs in chennai firms please let me know in my email-id. anbarasu2k@rediffmail.com. cheers, anbarasu.
can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?
which domain is of high demand for software testing, Right now i am working in Education domain .How about demand for Education domain and which companies are recruiting in education domain
What is bucket testing?
what do you mean by Develop test data through sourcing (or) handcrafting techniques
How to find bug in photos and videos ??
How would you test a service oriented architecture (soa) web application?