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
You might also like to view...
____________________ analysis methods exist to provide an exact understanding of the problem.
Fill in the blank(s) with the appropriate word(s).
Merge fields are enclosed in _____ to show that they will not be printed in the final document.
A. pound symbols B. curly brackets C. angle brackets D. square brackets
Answer the following statements true (T) or false (F)
1. Under Windows, deleted files or folders are not permanently removed from the computer until you empty the recycle bin. 2. Windows XP has a command line interface that provides access to MS-DOS line commands. 3. The Windows Scripting Host (WSH) allows users to launch MS-DOS batch files. 4. XP makes it easy to write to a CD, in effect treating a CD drive much like a hard disk drive. 5. Windows was the first commercially successful graphical user interface.
When using the BindingNavigator control in an application, the only way in which the user may move throughout the data in the associated table is by using the arrow navigation buttons.
Answer the following statement true (T) or false (F)