Multiple Choice Questions & Answers on control structure testing

Multiple Choice Questions & Answers on control structure testing

1. Which of the following comes under the Control Structure Testing?
a) Condition testing
b) Loop testing
c) Data Flow Testing
d) All of the above
Answer: All of the above

2. Data flow testing is a control structure testing technique where the criteria used to design test cases is that they
a) Rely on basis path testing
b) Exercise the logical conditions in a program module
c) Select test paths based on the locations and uses of variables
d) Focus on testing the validity of loop constructs
Answer: Select test paths based on the locations and uses of variables

3. Loop testing is a control structure testing technique where the criteria used to design test cases is that they
a) Rely basis path testing
b) Exercise the logical conditions in a program module
c) Select test paths based on the locations and uses of variables
d) Focus on testing the validity of loop constructs
Answer: Select test paths based on the locations and uses of variables

4. Condition testing is a control structure testing technique where the criteria used to design test cases is that they
a) Rely on basis path testing
b) Exercise the logical conditions in a program module
c) Select test paths based on the locations and uses of variables
d) Focus on testing the validity of loop constructs
Answer: Exercise the logical conditions in a program module

5. Control structure testing is a group of white-box testing methods.
a) True
b) False
Answer: True

Comments