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



IF A > B THEN C = A – B ELSE C = A + B ENDIF Rea..

Answer / toshimathur

B

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Test Cases Interview Questions

write a test cases for 2- way swtich?

5 Answers   CTS,


Writing Test cases based on the understanding of the UX document

1 Answers   Johnson Controls,


write the testcases for migrating data from one database to another database?

0 Answers   Wipro,


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

0 Answers  


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

0 Answers   TCS,






Apart from the normal functional test cases written, list out some out of the box test scenarios to test the 'Replace' dialog box in a Notepad

2 Answers  


how to write test cases for credit card payment

6 Answers  


How many test cases u will write for Adhoc testing?

4 Answers  


Write a test case for yahoo

2 Answers  


how to write the test cases in excel format

0 Answers  


Pls can any 1 temme the test cases for an online banking proj. like account transaction summary, deposit module, savings module

1 Answers  


test cases for login window

1 Answers  


Categories