nerdexam
iSQI

CTFL_SYLL_4.0 · Question #28

The following rules determine the annual bonus to be paid to a salesman of a company based on the total annual amount of the sales made (referred to as TAS). If the TAS is between 50k and 80k, the…

The correct answer is A. TC1 = 81 k; TC2= 97k; TC3=111k; TC4=118k. This answer is correct because equivalence partitioning is a test design technique that divides the input domain of a system or component into partitions of equivalent data, such that each partition is expected to produce the same output or behavior. Equivalence partitioning…

Test Analysis and Design

Question

The following rules determine the annual bonus to be paid to a salesman of a company based on the total annual amount of the sales made (referred to as TAS). If the TAS is between 50k and 80k, the bonus is 10%. If the TAS exceeds 80k by a value not greater than 40k, the bonus is 15%. Finally, if the TAS exceeds the maximum threshold which entitles to a 15% bonus, the bonus is 22%. Consider applying equivalence partitioning to the TAS (Note: 1k = 1000 euros). Which one of the following answers contain only test cases that belong to the same equivalence partition?

Options

  • ATC1 = 81 k; TC2= 97k; TC3=111k; TC4=118k
  • BTC1 = 40k; TC2= 46k; TC3=51k; TC4=53k
  • CTC1 = 79k; TC2= 80k; TC3=81k; TC4=82k
  • DTC1 = 90k; TC2= 110k; TC3=125k: TC4=140k

How the community answered

(54 responses)
  • A
    61% (33)
  • B
    22% (12)
  • C
    11% (6)
  • D
    6% (3)

Explanation

This answer is correct because equivalence partitioning is a test design technique that divides the input domain of a system or component into partitions of equivalent data, such that each partition is expected to produce the same output or behavior. Equivalence partitioning aims to reduce the number of test cases by selecting one representative value from each partition. In this case, the input domain of the TAS can be divided into four partitions based on the bonus rules: less than 50k, between 50k and 80k, between 80k and 120k, and more than 120k. The test cases in the answer belong to the same partition, which is between 80k and 120k, and they are expected to produce the same output, which is a bonus of 15%.

Topics

#equivalence partitioning#test case design#boundary analysis#black-box testing

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice