CTFL

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?

  1. An item or event of a component or system that can be verified by one or more test cases.
  2. The grouping of a composite set of test cases which, when tested as a whole, reveal a positive or negative result.
  3. A testable component derived from business requirements.
  4. 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. 1
  2. 2
  3. 3
  4. 4

Question 8

What is static analysis?

  1. The decision between using white or black box test techniques.
  2. Executing software to validate the most common path through the code.
  3. A technique to find defects in software source code and software models, performed without executing code.
  4. It is a testing technique used during system testing.

Question 9

Component testing may include:

  1. Sociability testing.
  2. User acceptance testing.
  3. Beta testing.
  4. 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?

  1. Technical Review
  2. Inspection
  3. Walkthrough
  4. Informal review