nerdexam
iSQI

CTAL-TA_SYLL2019 · Question #49

You are working on a hand held product that will be used by carpet salespeople to create estimates while the salesperson is at the customer's location. The carpet installation prices are different…

The correct answer is A. 0 sq yds, 1 sq yd, 19 sq yds, 20 sq yds, 39 sq yds, 40 sq yds, max sq yds, max sq yds + 1. The smallest set of test conditions to provide minimum coverage of the boundary values is the one that tests the minimum and maximum values for each category of carpet installation prices, as well as the values that are just above or below the boundaries. Option A covers these…

Test Techniques

Question

You are working on a hand held product that will be used by carpet salespeople to create estimates while the salesperson is at the customer's location. The carpet installation prices are different based on how much carpet the customer will be buying. If the customer is buying enough only for a small room (less than 20 square yards) the cost to install is $5 a square yard. For a medium room (less than 40 square yards) the cost to install is $4 a square yard. For a large room (40 square yards or more) the cost to install is $2 a square yard. Two small rooms or one small room plus a set of stairs is priced at the medium room price. Two medium rooms or one medium room plus a set of stairs is priced at the large room price. Which of the following is the smallest set of test conditions to provide minimum coverage of the boundary values?

Options

  • A0 sq yds, 1 sq yd, 19 sq yds, 20 sq yds, 39 sq yds, 40 sq yds, max sq yds, max sq yds + 1
  • B20 sq yds, 40 sq yds
  • CNo purchase, 1 sq yd, 20 sq yds, 40 sq yds, max sq yds

How the community answered

(18 responses)
  • A
    72% (13)
  • B
    17% (3)
  • C
    11% (2)

Explanation

The smallest set of test conditions to provide minimum coverage of the boundary values is the one that tests the minimum and maximum values for each category of carpet installation prices, as well as the values that are just above or below the boundaries. Option A covers these values, as it tests the boundary values of 0, 20, and 40 square yards, as well as the values that are one square yard more or less than these boundaries. It also tests the maximum possible value for the carpet area and the value that exceeds it. The other options do not test all the boundary values or have redundant values. Reference = ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst1, page 2 Boundary Value Analysis and Equivalence Partitioning Testing2, section "Boundary Value Analysis" Equivalence Partitioning Method3, section "Example 1: Equivalence and Boundary Value"

Topics

#boundary value analysis#numeric boundaries#equivalence partitioning#test data

Community Discussion

No community discussion yet for this question.

Full CTAL-TA_SYLL2019 Practice