CTFL practice questions, page 2 of 6, with answer review and explanations.
Question 6
Which of the following statements is most true about test conditions?
An item or event of a component or system that can be verified by one or more test cases.
The grouping of a composite set of test cases which, when tested as a whole, reveal a positive or negative result.
A testable component derived from business requirements.
Applies to software testing only.
Question 7
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?
1
2
3
4
Question 8
What is static analysis?
The decision between using white or black box test techniques.
Executing software to validate the most common path through the code.
A technique to find defects in software source code and software models, performed without executing code.
It is a testing technique used during system testing.
Question 9
Component testing may include:
Sociability testing.
User acceptance testing.
Beta testing.
The use of stubs and drivers.
Question 10
Which type of review has the following main purposes: discussing, making decisions, evaluating alternatives, finding defects, solving technical problems and checking conformance to specifications, plans, regulations, and standards?