Case-Based Critical Thinking QuestionsCase 1: Jack of All TradesYou've been asked to design an application for Jack of All Trades, which rents small power equipment to commercial and residential customers, to process its transactions. ThestrCustomervariable will be used to determine whether a customer is commercial (C) or residential (R). Commercial customers receive a 10% discount if they are members of the Rental Rewards Program. Residential customers receive a 5% discount if they are members.

The message provided when a customer is not a current member of the Rental Rewards Program is "Enroll this customer in the Rental Rewards Program?". The clerk can click "Yes" to begin the application process, or "No" to enter a note that the customer has declined the offer. What type of selection structure is used to accomplish this?

A. a single-alternative selection structure
B. a dual-alternative selection structure
C. a yes/no selection structure
D. a decline/accept selection structure

Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following can be tested by creating relationships?

A) Normalization B) Anomaly C) Composite key D) Dependencies

Computer Science & Information Technology

When you use the Database Splitter tool, it splits a database into two files: ________

A) major and minor B) primary and secondary C) independent and dependent D) front-end and back-end

Computer Science & Information Technology