Question

In: Computer Science

•Preferred customers who order more than $1000 are entitled to a 5% discount, and an additional...

•Preferred customers who order more than $1000 are entitled to a 5% discount, and an additional 5% discount if they used the store credit card. •Preferred customers who do not order more than $1000 receive a $25 bonus coupon. •All other customers receive a $5 bonus coupon.Design the Logic in Structured English Design the Logic using Decision Tablex•Preferred customers who order more than $1000 are entitled to a 5% discount, and an additional 5% discount if they used the store credit card. •Preferred customers who do not order more than $1000 receive a $25 bonus coupon. •All other customers receive a $5 bonus coupon.

Solutions

Expert Solution

Structured English:

Structured English is a subset of standard English that describes logical process clearly and apparently. When using structured English,be mindful of the following guidelines

1. Use only the three building blocks of sequence,selection and iteration.

2. Use indentation for readability.

3. Use limited vocabulary.

The structured English for the given information is

Decision table:

A decision table is a logical structure that shows every combinations of conditions ans outcomes. Analysis often use decision tables to describe a process and ensure that they have consider all possible situations.

when documenting a process it is important to ensure that every possibility is listed. In this example the process description contains two conditions:product stock status and customer credit status,if both conditions are met the order is accepted otherwise rejected.

After all conditions and outcomes has been verified the next step is to create decision table

sales promotion policy-Holiday season

1.preferred customers who order $1000 or more are entitled to give 5% discount and an additional % discount if they used our charge card.

2.preferred customers who do not order $1000 or more will receive a $25 bonus coupon.

3.All other customer will receive a $5 bonus coupon.

Rules:

1. In rule1 all the conditions are satisfied so both 5% discounts appiled.

2. In rule2 a preferred customer order $1000 or more but not used our charge card so only 5% discount applied.

3. Rules 3 and 4 can be combined into a single rule,if the preferred customer do not order $1000 or more,it does not matter whether they use our charge card-either way they earn only $25 bonus coupon.

4. Rules 5,6,7,8 can be combined into a single rule because if the customer is not a preferred customer he only earns $5 bonus coupon and the other conditions sinply do not matter.


Related Solutions

5.A discount merchandiser is likely to have a higher inventory turnover than more upscale stores with...
5.A discount merchandiser is likely to have a higher inventory turnover than more upscale stores with higher merchandise prices. True or False 6. Segregation of duties in an organization should be required to reduce the likelihood of theft. true or false 7.When a company receives payment from a customer whose account was previously written off, the customer's account should be reinstated. true or false 8.The cost of natural resources includes the purchase price, as well as exploration costs and surveys....
Saccomanno Industries Inc. is considering whether to discontinue offering credit to customers who are more than...
Saccomanno Industries Inc. is considering whether to discontinue offering credit to customers who are more than 10 days overdue on repaying the credit extended to them. Current annual credit sales are $10 million on credit terms of "net 30". Such a change in policy is expected to reduce sales by 10 percent, cut the firm's bad-debt losses from 5 to 3 percent, and reduce its average collection period from 72 days to 45 days. The firm's variable cost ratio is...
A chain of motels had adopted a policy of giving a 3% discount to customers who...
A chain of motels had adopted a policy of giving a 3% discount to customers who pay in cash rather than by credit cards. Its experience is that 30% of all customers take the discount. Let Y = the number of discount takers among the next 20 customers. 7) What kind of probability distribution is appropriate in this case? a) Normal Distribution b) Binomial Distribution c) Poisson Distribution d) Unknown Discrete Probability Distribution 8) Find the probability that exactly 5...
A firm currently sells its product with a 2% discount to customers who pay by cash...
A firm currently sells its product with a 2% discount to customers who pay by cash or credit card when they purchase one of the firm's products; otherwise, the full price is due within 30 days. Forty percent (40%) of customers take advantage of the discount. The firm plans to drop the discount so the new terms will simply be net 30. In doing so it expects to sell 100 fewer units per month and all customers to pay at...
Which bulb would be preferred by more customers, a 100-watt bulb that burns for 1500 hours...
Which bulb would be preferred by more customers, a 100-watt bulb that burns for 1500 hours and cost $3.00 or a 75-watt bulb that burns for 2000 hours and costs $2.50?
How much more is a perpetuity of $1000 worth than an annuity of the same amount...
How much more is a perpetuity of $1000 worth than an annuity of the same amount for 18 years? Assume an interest rate of 8% and cash flows at the end of each period.
The order is to infuse 150 mg of a drug in 1000 ml LR at 5...
The order is to infuse 150 mg of a drug in 1000 ml LR at 5 mcg/kg/min to a client weighing 60 kg (the drop factor is 20 gtt/ml) Answer the question below. a) What is the infusion time for the IV? b) What is the rate of flow of the drug in mcg/min? c) What is the flow rate for the IV?
A service station advertises that customers will have to wait no more than 30 miniutes for...
A service station advertises that customers will have to wait no more than 30 miniutes for an oil change. A sample of 25 oil changes has a standard deviation of 5.2 minutes. a) Find the 95% confidence interval of the population variance of the time spent waiting for oil change. b) Find the 95% confidence interval of the population standard deviation of the time spent waiting for oil change.
- The CEO of a large electric utility claims that more than 80% of his customers...
- The CEO of a large electric utility claims that more than 80% of his customers are very satisfied with the service they receive. To test this claim, the local newspaper surveyed 100 customers using simple random sampling. Among the sampled customers, 81% said that they were very satisfied. Do these results provide sufficient evidence to accept or reject the CEO's claimAssume significance level 0.05. State the null and alternative hypothesis, the sample proportion, test statistic. Using StatKey state the...
Robert borrows $1000 for 8 months from a lender who charges a 16% discount rate. What...
Robert borrows $1000 for 8 months from a lender who charges a 16% discount rate. What size of loan should robert ask for so as to receive $1000 in cash? What is the equivalent simple interest rate he pays on the loan?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT