Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An online store called Complete Colorguard Equipment sells customized flags for colorguard performances. The store uses a program where the customer inputs the specifics for

An online store called Complete Colorguard Equipment sells customized flags for colorguard performances. The store uses a program where the customer inputs the specifics for a flag order. Customers may order poles separately from flags. The program then calculates the total cost of the order. The following input is required:

Do you need a pole? Yes, No

If yes, size? 5ft - 9ft

The pattern on the flag: SOLID, STRIPES, CURVES

The preferred fabric: COTTON, NYLON.

The number of flags to be purchased as an integer: 1-99 inclusive

Each nylon flag costs $15 (tax is included in the price), plus $2 per foot over five feet. Each cotton flag costs $20 (tax is included in the price), plus $2 per foot over five feet.

A discount of %10 is applied to orders of 20 flags or more.

Exercise:
1. Write a list of equivalence classes for the input data to this program.


  1. Write a set of test cases to exercise all the equivalence classes. (Include pattern, even though it doesn't affect the price.)

For each test case indicate which classes it covers.

Step by Step Solution

3.42 Rating (152 Votes )

There are 3 Steps involved in it

Step: 1

Equivalence Classes for the Input Data 1 Pole Requirement Yes No 2 Pole Size 5ft 6ft 7ft 8ft 9ft 3 F... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Financial Accounting

Authors: Thomas Beechy, Umashanker Trivedi, Kenneth MacAulay

6th edition

013703038X, 978-0137030385

More Books

Students also viewed these Programming questions