Here comes second set of Questions

Please leave your responses, we will discuss answers tomorrow:

1. Error guessing is best used:

a)       after more formal techniques have been applied

b)       as the first approach to deriving test cases

c)       by inexperienced testers

d)       after the system has gone live

2.Which of the following is NOT included in the Test Plan document of the Test Documentation Standard?

a)       what is not to be tested

b)       test environment properties

c)       quality plans

d)       schedules and deadlines

3. The standard that gives definitions of testing terms is:

a)    ISO/IEC 12207
b)    BS 7925-1
c)    ANSI/IEEE 829
d)    ANSI/IEEE 729

4. Which of the following techniques is NOT a black box technique?

a)    state transition testing
b)    LCSAJ
c)    syntax testing
d)    boundary value analysis

5. Consider the following statements:
 
i.    100% statement coverage guarantees 100% branch coverage.
ii.    100% branch coverage guarantees 100% statement coverage.
iii.    100% branch coverage guarantees 100% decision coverage.
iv.    100% decision coverage guarantees 100% branch coverage.
v.    100% statement coverage guarantees 100% decision coverage.

a)    ii is True;  i, iii, iv & v are False
b)    i & v are True;  ii, iii & iv are False
c)    ii & iii are True;  i, iv & v are False
d)    ii, iii & iv are True;  i & v are False

6. Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage?

Read p
Read q
IF p+q > 100 THEN
    Print “Large”
ENDIF
IF p > 50 THEN
    Print “p Large”
ENDIF

a)    1 test for statement coverage, 3 for branch coverage
b)    1 test for statement coverage, 2 for branch coverage
c)    1 test for statement coverage, 1 for branch coverage
d)    2 tests for statement coverage, 2 for branch coverage

These are very simple..just remove the wrong option first. 😉

Technorati Tags: , ,

Advertisements