Thursday, December 24, 2009

Testing Multiple Choice Questions-2

White-box Testing Multiple Choice Questions:

White-box testing - A type of testing in which you examine the internal structure of a program. [The Art of Software Testing]

1
The testing technique that requires preparing test cases to exercise the internal logic of a software module is .......

A) behavioral software testing
B) black-box testing
C) grey-box testing
D) white-box testing

2
Test case designing white box stratagies include

A) Statement coverage
B) Decision coverage
C) Condition coverage
D) Decision-condition coverage
E) Multiple-condition coverage
F) All of above

3
White-box testing techniques are useful when testing Website architecture.

A) True
B) False

4
White-box testing, sometimes called glass-box testing is a test case design method that uses the ...... structure of the procedural design to derive test cases.

A) behavior
B) Control
C) Ariel
D) None of the above

5
........ A white-box criterion in which one writes enough test cases that each condition in a decision takes on all possible outcomes at least once.

A) statement coverage
B) decision coverage
C) condition coverage
D) All of above

6
Using white-box testing methods, the software engineer can derive test cases that
(1) guarantee that all independent paths within a module have been exercised at least once,
(2) exercise all logical decisions on their true and false sides,
(3) execute all loops at their boundaries and within their operational bounds, and
(4) exercise internal data structures to ensure their validity

A) 1
B) 1, 2
C) 1, 2, 3
D) 1, 2, 3, 4

7
White-box testing is concerned with the degree to which test cases exercise or cover the logic (source code) of the program.

A) True
B) False

8
Which one of the below is not a White Box Testing techniques ?

A) Decision Coverage
B) Condition Coverage
C) Multiple Decision Coverage
D) Multiple Condition Coverage

9
Which of the below statements about the component testing standard is not true:

A) white box measurement techniques all have an associated test design technique
B) white box design techniques all have an associated measurement technique
C) cyclomatic complexity is not a test measurement technique
D) black box measurement techniques all have an associated test design technique
E) black box design techniques all have an associated measurement technique

10
Which of the below is NOT a white box testing technique?

A) Statement testing
B) Path testing
C) Data flow testing
D) State transition testing

1) d, 2) f, 3) a, 4) b, 5) c, 6) d, 7) a, 8) c, 9) e, 10) d