This part of a program is given:

WHILE (condition A) Do B

END WHILE

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

A

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Test Cases Interview Questions

can someone tell me the test cases for following scenario of password: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consists of 1 uppercase letter. 3. Password should consists of 1 numeric. 4. Password should consists of 1 special character.

2 Answers  


If there are 10 steps for a test case. and for this test case there are 6 expected results. should I write 6 exp. results in the Expected Result column for a single tes case

4 Answers  


How to write test case on paper and pen.

5 Answers   Wipro, TenXLabs,


Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?

0 Answers  


What is the difference between Test Input and Test Data??

2 Answers  


how will we know test cases are written by us are correct

5 Answers   TCS,


1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.

0 Answers  


How to write email id in world wide web

0 Answers  


write a test case on web login and bank application and client server

60 Answers   Adobe, CTS, TCS, Semantic Space, MBT, Reliance, Ciber, Login, Tech Mahindra,


i need Usability test case for home page?

4 Answers  


how to testba storedprocedure?

1 Answers   CSS,


Smoke Test Checklist for Gmail please someone help!

2 Answers   Microsoft,




Categories