If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage?

1. If x=3 then

2. Display_messageX;

3. If y=2 then

4. Display_messageY;

5. Else

6. Display_messageZ;

7. Else

8. Display_messageZ;

A. 1

B. 2

C. 3

D. 4



If the pseudo code below were a programming language ,how many tests are required to achieve 100% st..

Answer / toshimathur

C

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Test Cases Interview Questions

hai im finished software testing course im technicaly strong but yet now no opportunities come to me.if any opportunities please send to my mail id my mail di is sumathi11685@gmail.com

0 Answers  


What is Defect Seeding? What is Defect Density?

1 Answers  


write the test cases for date month and year field by using testing techniques

19 Answers   Aryavrat Infotech, Blue Star,


Write the 10 test cases for Telephone/Pen.

12 Answers   Infoedge,


Explain the unit testing?

0 Answers  


Write the tescases for a login page

2 Answers  


Explain the exactly meaning of test case?

0 Answers  


when you don't have time to write test cases, what do you do?

7 Answers   Satyam,


what is the purpose of writing testcases

12 Answers  


Write the 3 TestCases to prove tht it is a softdrinkbottle or not.

9 Answers   Minecode,


if u have a application that is demo verson and u want to perches it if u have full version. Plz give me some test case for try to break the applicatin

1 Answers  


Explain the format of a requirement traceability

0 Answers  


Categories