Which of the following is a dynamic analysis technique related to improving application performance? 1 credit [K2]
Number of correct answers: 1
A. Code complexity analysis
B. Profiling
C. Network package sniffing
D. Spelling and grammar checking
How many test cases would be needed to achieve 100% decision coverage? 1 credit [K2] Number of correct answers: 1
A. 1
B. 2
C. 3
D. 4
The comment frequency of the code fragment is 13%. To which ISO 9126 quality attribute does a good level of comment frequency especially contribute? 1 credit [K2]
Number of correct answers: 1
A. Portability
B. Maintainability
C. Usability
D. Efficiency
The application of multiple condition testing is also being considered.
Which specification-based technique is largely based on the principle of multiple condition testing? 1 credit
[K2]
Number of correct answers: 1
A. Equivalence Partitioning
B. State Transition Testing
C. Decision Table Testing
D. Use Cases
During code reviews, it is the author's responsibility...1 credit [K2] Number of correct answers: 1
A. to address all major and minor defects as stated in the defect log
B. to fix all major and minor defects as stated in the defect log
C. to take action on only improvement suggestions from the defect log
D. to correct source documents that have major defects
To support code reviews a checklist will be developed. Which TWO questions from the list would you implement as part of the code review checklist? 3 credits [K3]
Number of correct answers: 2
A. Are any magic numbers (numeric literals) used, other than 0 or 1?
B. Can each item be implemented with the techniques, tools, and resources available?
C. Is it possible during acceptance testing to verify whether the item has been satisfied?
D. Is the item specified in an exact, unambiguous way?
E. Is there any logic containing no statements and no explanation as to why it is empty?
A developer has spent three days looking at a system that crashes now and then. The problem was caused by two coding faults:
A. A variable was being used but had not been defined; ii.There was a `goto' statement to an undefined label 1 credit [K2] Number of correct answers: 1
B. Static analysis tool
C. Code coverage tool
D. Dynamic analysis tool
E. Test execution tool
At which test level would performance testing most likely be performed? 1 credit [K2] Number of correct answers: 1
A. Component Testing
B. Integration Testing
C. System Testing
D. User Acceptance Testing
Based on the state diagram above, how many test cases are needed to achieve 1-switch coverage? 2 credits [K3]
Number of correct answers: 1
A. 5
B. 7
C. 8
D. 9
How many test cases are required to test a specification that has three conditions using a decision table testing which is not collapsed? 1 credit [K2]
Number of correct answers: 1
A. 2
B. 4
C. 6
D. 8