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 ?    6 Yes 0 No

Post New Answer

More Test Cases Interview Questions

how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

0 Answers   IBM,


What are the test cases for mouse?

0 Answers  


Which testing is important, positive testing or negative testing. Test cases for postive and negative testing for a given functionality.

2 Answers  


write the high level test cases for winzip file

2 Answers   QA,


Do you write test plan and test case?

1 Answers   Wipro,






How to write test case for android application,alarm clock,LCD display screen. And after seeting alarm mobile get switch off how to write test case..

0 Answers   Amazon,


how to write system test cases for a pen

3 Answers   IBM,


what will be testcases for job portal such as naukri.com , monster.com (as existing user)

2 Answers   Unilog,


Write a test case on online shopping website? (please tell me the format how to write in MS excel,if u have any sample than attach it.)

0 Answers   Rakshak, Via.com,


please can anybody tell me, how to indentify the test cases which can be automated from a given set of test cases, say 20.

2 Answers  


If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date

0 Answers  


how to search a Unix file system in Google search engine??? write the test cases foe that one???what will be the step

0 Answers  


Categories