Free CTFL-FOUNDATION Exam Braindumps (page: 34)

Page 33 of 85

Which of the following are most characteristic of structure-based testing?

(i) Information about how the software is constructed is used to derive test cases.
(ii) Statement coverage and/or decision coverage can be measured for existing test cases.
(iii) The knowledge and experience of people are used to derive test cases.
(iv) Test cases are derived from a model or specification of the system.

  1. (i) and (ii)
  2. (ii) and (iii)
  3. (ii) and (iv)
  4. (i) and (iii)

Answer(s): A



Which of the following is MOST important in the selection of a test approach?

  1. Availability of tools to support the proposed techniques.
  2. The budget allowed for training in proposed techniques.
  3. Available skills and experience in the proposed techniques.
  4. The willingness of the test team to learn new techniques.

Answer(s): C



Which of the following is a benefit of test independence?

  1. It does not require familiarity with the code.
  2. It is cheaper than using developers to test their own code.
  3. It avoids author bias in defining effective tests.
  4. Testers are better at finding defects than developers.

Answer(s): C



Consider the following pseudo code:

1 Begin
2 Read Time
3 If Time < 12 Then
4 Print(Time, "am")
5 Endif
6 If Time > 12 Then
7 Print(Time 12, "pm")
8 Endif
9 If Time = 12 Then
10 Print (Time, "noon")
11 Endif
12 End

If the test cases Time = 11 and Time = 15 were input, what level of decision coverage would be achieved?

  1. 100% or 6/6
  2. 50% or 3/6
  3. 67% or 4/6
  4. 83% or 5/6

Answer(s): D

Explanation:

Test case 1 exercises the decision outcomes True, False, False
Test case 2 exercises the decision outcomes False, True, False
This leaves the True outcome of decision 3 not exercised.
Of the 6 possible decision outcomes, 5 have been exercised, so the decision coverage is 5/6 (about 83%).






Post your Comments and Discuss ISTQB® CTFL-FOUNDATION exam with other Community members:

CTFL-FOUNDATION Discussions & Posts