Free CTAL-TTA Exam Braindumps (page: 5)

Page 4 of 17

How many test cases would be needed to achieve 100% decision coverage?

  1. 1
  2. 2
  3. 3
  4. 4

Answer(s): A



What is the number of nested levels for the code fragment?

  1. 0
  2. 1
  3. 2
  4. 3

Answer(s): C



Which specification-based technique could be used to enhance coverage for this code fragment?

  1. Boundary value analysis
  2. Exploratory testing
  3. State transition testing
  4. Use case testing

Answer(s): A



Consider the following code fragment

If (a>b) and (b>c) then
b = (a+c)/2
endif

Assume that in the following options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable "a", the second number represents variable "b", and the third number represents variable "c".
Which of the following gives a set of test case inputs that achieves 100% decision coverage for this fragment of code with the minimum number of test cases?

  1. (5, 3, 2)
  2. (5, 3, 2); (5, 4, 0)
  3. (5, 4, 0); (4, 5, 0)
  4. (4, 5, 0); (5, 4, 5)

Answer(s): C






Post your Comments and Discuss iSQI CTAL-TTA exam with other Community members: