Covers the outcomes but not the atomic conditions that affect the decision

Covers the outcomes but not the atomic conditions

This preview shows page 9 - 12 out of 31 pages.

Image of page 9
Certified Tester Advanced Level Syllabus - Technical Test Analyst International Software Testing Qualifications Board Unrestricted Sample Questions TTA Page 10 of 31 8 th of December, 2016 © International Software Testing Qualifications Board Point Value: 1 CTAL-TTA _LO-2.5.1 TTA-2.5.1 (K3) Write test cases by applying the Multiple Condition testing test design technique to achieve a defined level of coverage Question: You are testing a photo-enforcement system for traffic control in an intersection. The requirements state a photo shall be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS). Consider these sets of values: 1. RED + SPEED + WHEELS 2. RED + SPEED + not WHEELS 3. RED + not SPEED + WHEELS 4. RED + not SPEED + not WHEELS 5. not RED + SPEED + WHEELS 6. not RED + SPEED + not WHEELS 7. not RED + not SPEED + WHEELS 8. not RED + not SPEED + not WHEELS Assume the logic in the code is as follows: If ((RED or SPEED) and WHEELS) then Take the photo Else Do not take the photoGiven this information, which sets of values provide the minimum tests to achieve 100% multiple condition coverage? Point Value: 1
Image of page 10
Certified Tester Advanced Level Syllabus - Technical Test Analyst International Software Testing Qualifications Board Unrestricted Sample Questions TTA Page 11 of 31 8 th of December, 2016 © International Software Testing Qualifications Board CTAL-TTA _LO-2.6.1 TTA-2.6.1 (K3) Write test cases by applying the Path testing test design technique. Question: You are testing a photo-enforcement system for traffic control in an intersection. The requirements state that a photo shall be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS). Consider these sets of values: 1. RED + SPEED + WHEELS 2. RED + SPEED + not WHEELS 3. RED + not SPEED + WHEELS 4. RED + not SPEED + not WHEELS 5. not RED + SPEED + WHEELS 6. not RED + SPEED + not WHEELS 7. not RED + not SPEED + WHEELS 8. not RED + not SPEED + not WHEELS Assume the logic in the code is as follows: If ((RED or SPEED) and WHEELS) then Take the photo Else Do not take the photo Given this information, which sets of values provide the minimum tests to achieve 100% path coverage. Justification: A. Correct. Path coverage requires that the statement evaluates to true and to false. 2 will give you False and 3 will give you True.
Image of page 11
Image of page 12

You've reached the end of your free preview.

Want to read all 31 pages?

  • Summer '18

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture