IF A > B THEN

C = A – B

ELSE

C = A + B

ENDIF

Read D

IF C = D Then

Print "Error"

ENDIF

A. 1 test for statement coverage, 3 for branch coverage

B. 2 tests for statement coverage, 2 for branch coverage

C. 2 tests for statement coverage. 3 for branch coverage

D. 3 tests for statement coverage, 3 for branch coverage

E. 3 tests for statement coverage, 2 for branch coverage






Answer / toshimathur

B

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Test Cases Interview Questions

You are Only tester for Onsite client team, this team is on holiday for two day from monday & SIT is started with plan end date is friday in this case if all server,application is crashed then as a tester what will be your approach

0 Answers   Tieto, Cognizant,


Sir I m student I mreading sytem testing as my core paper I want to know how I can make Test case for smple Login Form

4 Answers   IBM,


What is Defect Seeding? What is Defect Density?

1 Answers  


write the test cases for how do u send a message in mobile

8 Answers   Wipro, Subex,


Please tell m all posiible tst cass for this--> A password of password field will expire in 45 days.It should send 1st reminder message to user whn 10 days are left and 2nd reminder message when 5 days are left and 3rd reminder mssage when 2 days are left.write all positive and negativ test cass for this.

3 Answers  


What is BRANCH COVERAGE Testing

1 Answers  


write a test cases for advanced search

1 Answers   Satyam,


how to prepare unit test scripts for accrued interest calculation.

1 Answers  


What are the different check points for SIT and UAT while testing an Internet Banking application. Consider any one functionality of Internet Banking

0 Answers  


test case for pen?? with actual value and expected calue

4 Answers   InfoSpace,


How would you do " Keeping two folders in sync testing"

0 Answers   HCL, Microsoft, ABC,


Write the testcase for pen

10 Answers   Minecode,




Categories