問題1
For the control flow, what is the correct labelling? 1 credit [K2]
Number of correct answers: 1
iiiiii
For the control flow, what is the correct labelling? 1 credit [K2]
Number of correct answers: 1
iiiiii
正確答案: B
問題2
Based on the state diagram above, how many test cases areneeded to achieve 1-switch coverage? 2 credits [K3]
Number of correct answers: 1
Based on the state diagram above, how many test cases areneeded to achieve 1-switch coverage? 2 credits [K3]
Number of correct answers: 1
正確答案: D
問題3
The developers have suggested test set A is adequate to test the program opposite:

When executing test set A through the program which statements are exercised? 2 credits [K3]
Number of correct answers: 1
The developers have suggested test set A is adequate to test the program opposite:

When executing test set A through the program which statements are exercised? 2 credits [K3]
Number of correct answers: 1
正確答案: B
問題4
A component has been analyzed as being highly critical. Which of the following structure-based test design techniques provides the highest level of coverage? 1 credit [K2]
Number of correct answers: 1
A component has been analyzed as being highly critical. Which of the following structure-based test design techniques provides the highest level of coverage? 1 credit [K2]
Number of correct answers: 1
正確答案: A
問題5
If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you holda gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and you check in late. This is shown in the figure hereafter. Note that each box (i.e. statement) has been numbered.
Three tests have been run: Test 1: Gold card holder who gets upgraded to business class Test 2: Non-gold card holder who stays in economy Test 3: A person who is bumped from the flight
What is the statement coverage of thesethree tests?2 credits [K4]
Number of correct answers: 1

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you holda gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and you check in late. This is shown in the figure hereafter. Note that each box (i.e. statement) has been numbered.
Three tests have been run: Test 1: Gold card holder who gets upgraded to business class Test 2: Non-gold card holder who stays in economy Test 3: A person who is bumped from the flight
What is the statement coverage of thesethree tests?2 credits [K4]
Number of correct answers: 1

正確答案: A
問題6
The development manager asks you to identify suitable testcoverage entry criteria for a component test. Which TWO of the following would you recommend as appropriate for entry criteria to a component testing phase? 2 credits [K3]
Number of correct answers: 2
The development manager asks you to identify suitable testcoverage entry criteria for a component test. Which TWO of the following would you recommend as appropriate for entry criteria to a component testing phase? 2 credits [K3]
Number of correct answers: 2
正確答案: A,D
問題7
Based on the state diagram above, how many invalid test cases could be identified in a state table? 2 credits [K3]
Number of correct answers: 1
Based on the state diagram above, how many invalid test cases could be identified in a state table? 2 credits [K3]
Number of correct answers: 1
正確答案: B