- (Exam Topic 22)
Consider the following pseudo code
* 1. Begin
* 2. Read Gender
* 3. Print “Dear”
* 4. If Gender = ‘female’
* 5. Print (“Ms”)
* 6. Else
* 7. Print ( “Mr”)
* 8. Endif
* 9. End
How many test cases are needed to achieve 100 per cent decision coverage?
Correct Answer:
B
- (Exam Topic 21)
Which of the following are most likely to be used when developing a test strategy or test approach?
(i) Failure-based approach (ii)Test specification approach
(iii) Model-based approach (iv)Finance-based approach
Correct Answer:
C
- (Exam Topic 22)
Which of the following statements about use-case testing are most accurate? (i)In a use-case diagram an actor represents a type of user.
(ii)Use-cases are the most common test basis for unit testing.
(iii)A use-case describes interactions between actors.
(iv)An actor is always a human user that interacts with the system. (v)Test cases can be based on use-case scenarios.
(vi) Use-case testing will often identify gaps not found by testing individual components.
Correct Answer:
B
- (Exam Topic 20)
Given is the following defect removal chart reported at the end of system testing - showing total defects detected and closed defects (fixed and successfully retested). A number of open defects are classified as critical. All tests have been executed.
Based on the chart above, what is the most appropriate next test phase? 1 credit
Correct Answer:
D
- (Exam Topic 12)
Identify THREE items that would be part of the work-breakdown structure showing the key testing activities for the acceptance test project. 2 credits (for 2 out of 3 correct 1 credit)
Correct Answer:
ABD