BCS TTA1 - ISTQB-BCS Certified Tester Advanced Level- Technical Test Analyst (2012) Exam
Page: 3 / 13
Total 65 questions
Question #11 (Topic: Topic 2)
How many test cases would be needed to achieve 100% decision coverage? 1 credit [K2]
Number of correct answers: 1
Number of correct answers: 1
A. 1
B. 2
C. 3
D. 4
Answer: A
Question #12 (Topic: Topic 2)
The comment frequency of the code fragment is 13%. To which ISO 9126 quality attribute
doesa good level of comment frequency especially contribute? 1 credit [K2]
Number of correct answers: 1
doesa good level of comment frequency especially contribute? 1 credit [K2]
Number of correct answers: 1
A. Portability
B. Maintainability
C. Usability
D. Efficiency
Answer: A
Question #13 (Topic: Topic 2)
How many test cases would be needed to achieve 100% statement coverage? 1 credit [K2]
Number of correct answers: 1
Number of correct answers: 1
A. 1
B. 2
C. 3
D. 4
Answer: A
Question #14 (Topic: Topic 2)
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? 2 credits [K3]
Number of correct answers: 1
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? 2 credits [K3]
Number of correct answers: 1
A. (5, 3, 2)
B. (5, 3, 2); (5, 4,0)
C. (5, 4, 0); (4, 5, 0)
D. (4, 5, 0); (5, 4, 5)
Answer: C
Question #15 (Topic: Topic 2)
Which specification-based technique could be used to enhance coveragefor this code
fragment?1 credit [K2]
Number of correct answers: 1
fragment?1 credit [K2]
Number of correct answers: 1
A. Boundary value analysis
B. Exploratory testing
C. State transition testing
D. Use case testing
Answer: A