Computer Science, asked by aditisaini2000, 2 months ago

A module is designed for the retail shop to calculate the discount based on the customer type
a) privileged customer then 3% discount
b)
normal customer then no discount
Design test cases using using equivalence partitioning for the above scenario
Select one:
O Input
Expected Output
Privilage Customer 13%
Normal Customer No Discount
Gold Customer Invalid
O Input
Expected Output
Privilage Customer 3%
Normal Customer No Discount
O Input
Expected Output
Privilage Customer 3%
Normal Customer Invalid
Gold Customer Invalid
O Input
Expected output
Privilage Customer 3%
Normal Customer No Discount
Gold Customer Invalid​

Answers

Answered by vishakasaxenasl
0

Answer:

The correct answer is fourth option.

Input

Expected output

Privilege Customer 3%

Normal Customer No Discount

Gold Customer Invalid​

Explanation:

Since discount of 3% is only given to privileged customers of the shop and normal customer or any other type of customer cannot avail any discount.

Privilege Customer 3% (TRUE)

Normal Customer No Discount (TRUE)

Gold Customer Invalid ​(TRUE)

Only fourth option follows this criteria. So fourth option is correct.

#SPJ3

Answered by golusolu
0

Option four

"Input

Expected output

Privilege Customer 3%

Normal Customer No Discount

Gold Customer Invalid​"

Is correct.

Explanation:

Since the shop only offers a 3 percent discount to its most valued customers, regular customers and other customers cannot take advantage of this offer.

  • 3 percent of privileged customers (TRUE)
  • No Discount for Regular Customers (TRUE)
  • Invalid Gold Customer (TRUE)

Therefore, only the fourth option meets these requirements.

The fourth choice is hence the right one.

#SPJ2

Similar questions