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

can anyone please help me in writing Test cases for HRMS,ERP and for CRM Apllications...I am joined as a trainee.so i have to write test cases for these applications..Soo can anyone pls help me....mail id: bapuji.karyampudi@gmail.com....Please reply me guys.

0 Answers   TSB Software Solutions,


Write 10 test cases for the condition P=R/I where R and I are integer and P is floating point.

1 Answers  


Describe to me what you see as a process. Not a particular process, just the basics of having a process.

1 Answers  


how we write a jwebunit test case for check whether the ip address correct or not.

0 Answers   TCS,


1. Buzz Words 1.1 Purpose Allow user easy access of content based on key/popular words 1.2 Scope All the tags at the portal. 1.3 User Interface - Tags are usually hyperlinks that lead to a collection of items that are associated with the tag. - Click takes you to page similar to Search Result page, should search all content and not only articles - Based on Most Viewed only 1.4 Interfacing/Sourcing Details - Need to develop an application which works on algorithm to calculate size/color of Buzz words. - In phase 1 algorithm will be pretty straight forward of calculating dimesion of Buzz words by going by ""Most Viewed/Visited"" words. Need to get exact algorithm.

0 Answers  


What is the toughest moment you faced in your testing carrier in which everyone praised you?

0 Answers  


test cases for bus transport (TNSTC)

0 Answers  


write a test case for a pen and paper regarding writing.

11 Answers   Wipro,


For how many days (or) weeks you will test a product or software?

1 Answers  


How to write test case for this scenario. The system shall allow the user to select an option to sort the results by the city of the family contact

1 Answers  


how to write test cases in interview exam like one website it contain a/c # text box, current bill amount text box,sms offer,calling offer,internet these 3 are list boxes and remindmelater,continue these 2 are buttons. and qu is like 1.user doesn't have any dues from past 90 days,2.whose bill amount >= rs2000 from past 6 months. use this 2qu write testcases.

0 Answers  


Write a test case for a car, which has been, recently launch in a market to check its durability, fuel efficiency and its optimum speed.

0 Answers  




Categories