CTFL v4.0 Practice Test

CTFL v4.0 Practice Test practice questions, page 8 of 11, with answer review and explanations.

Question 36

If test cases are written in the given/when/then format, what type of test-first software development is being used?

  1. Test-driven development
  2. Acceptance test-driven development
  3. Business-driven development
  4. Behavior-driven development

Question 37

Which of the following is a valid test objective?

  1. Finding the stable areas of the code which do not require testing
  2. Debugging incidents to determine the cause of the problem
  3. Finding failures and defects in the test object
  4. Participating in code reviews to improve scripting skills

Question 38

You are a functional tester, performing system testing of a flight reservation application. After logging into the system, you selected the “New Reservation” option on the main menu, and clicked the “Submit” button without making any changes to the default values on the screen. The system charged your test credit card for $523.00 instead of the expected $1046.00. This happens every time you execute the test case. You are entering a defect into your system, and submitting it to development for correction. Your defect report currently includes: The date of the incident - The identity of the tester who discovered the incident The steps executed to cause the incident, noting 100% reproducibility The impact on the system and the priority of the defect The expected and actual results - What information is missing from this defect report?

  1. The test environment in which the test was executed
  2. Test case expected results
  3. The name of the developer who should have caught their error in unit testing
  4. Frequency of occurrence

Question 39

Which of the following is an example of a test work product?

  1. Test plan
  2. Test platform selection
  3. Code base
  4. Test tool selection

Question 40

You are getting ready to test software that will be used to dispatch spa pool technicians. You have decided to use a decision table to determine when chemicals will be needed and when maintenance functions should be performed. You have been given the following requirements: 1. Spa pools need chemicals checked and added once a week. 2. Spa pool filters must be cleaned once a month. 3. Technicians should add chemicals and clean filters for an emergency maintenance call. You have created the conditions part of the decision table: Given this information, which of the following is the correct set of actions indicated by this decision table? 1. 2. 3. 4.

  1. 1 is correct
  2. 2 is correct
  3. 3 is correct
  4. 4 is correct