This part of a program is given:

WHILE (condition A) Do B


How many decisions should be tested in this code in order to achieve 100% decision coverage?

A. 2

B. Indefinite

C. 1

D. 4

Answer / toshimathur


Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

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 should the test cases be framed to validate the excel sheet?

3 Answers   Avaya,

Write all Possible (+ve and -ve) Test Cases for a Date Object (DD/MM/YYYY) which is entered manually?

6 Answers  

write a test cases for table,pen,electric bulb?

6 Answers  

How to write test case template for ATM

2 Answers   Infosys,

wat is mutation testing ?

2 Answers  

2.6.3 User Interface Different Polls could be present at different channels, pages within channels, and at home page. User interface for Poll will be as described below: - Beneath poll current result(running status) to be shown in graphical form(say progressing bar chart) all the time, in same window as poll. - Link ""All Polls >>"" to take user to Polls home page which will have all the active polls with results underneath. - All the polls not older than one month will come under Active polls category. - User can take Active open polls, but cannot react to Active closed polls. Can only view results of active closed polls. - No Interactives available for polls - "Add a comment", "Rate" - Registered User can take a poll only once, after that only result is shown to user. To unregistered user it will be open. 2.6.4 Interfacing/Sourcing Details - Polls is going to be a separate module, an internal application, which editor/admin can publish. - Admin/Editor should be able to publish polls on separate channels, pages. Assign closure dates. - Admin/Editor can upload images, change look n feel, add a brand, link/url to it. - System to capture user details(screen name/name, id, email id), do loyalilty points calculation and add to user loyality points. 2.6.5 Rules and Conditions Unless assigned a closure date, by default all Polls will be open for 30 days. this is the SRS how to write the test cases for the above functionalities help me

1 Answers   GE,

write a test case for employee income caculation it is awindows aplication when window is opened all options should be disabled except empno when user enter 3 charcters empname,empdes,basic should be displayed but they should be inactive,HRA,DA are active enter these two gross is displayed,enter tax then net income is displayed.all inputs must be integers and min is 1 and max is 4 charcters for all text boxes.gross =basic+HRA+DA and netincome= gross- tax

1 Answers  

how we test the login page using jwebunit test case...

0 Answers   CTS,

How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other: if (Condition 1) then statement 1 else statement 2 end if if (Condition 2) then statement 3 end if A. 2 Test Cases B. 3 Test Cases C. 4 Test Cases D. Not achievable

1 Answers   ISTQB,

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,

what is the purpose of writing testcases

12 Answers