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

If there are two document files, from one doc. file we want some text copy & peste into next doc. file. So which are the negative test cases for such scinario.

1 Answers   ABC,


suppose an interviewer asks you to write a testcase for a login window (and application is not given to test). Should we write actual results or expected results or both?

3 Answers  


what is not present in the test case? 1>requirment ID 2>test case ID 3>bug ID 4>objective

30 Answers   TCS,


What is the Difference between Testing Types and Testing Techniques

4 Answers   ISTQB,


how to Create a test plan document for Library Management System

2 Answers   TCS,


I have s/m which gives me square of numbers from 1 – 10000. How do u test it.

0 Answers   ACS,


How to write testcases for username creation?Given requirements are min 6characters,atleast one alphabet,alpha,alphanumric

1 Answers  


write test case for banking application

1 Answers   Zeal Encore,


test case for open doalog box. thanks a lot!

1 Answers  


Write few functional & non-functional test cases for a payment gateway system

3 Answers  


In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output Input: <text>1. software Testing</text> Output: <paragraph><text><desig>1.</desig>software testing</text></paragraph>

0 Answers  


what are the Test Cases for " Test Cases " ?

8 Answers   TCS,




Categories