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 application needs to display a message box to remind the clerk to ask customers to join the Rental Rewards Program when they check out. This message box should only display if the customer is not currently in the program. Which of the following If clauses would evaluate to True and display the message box for the clerk?

A. If strMember <> "Y" Then
B. If strMember = "Y" Then
C. If strMember = "N" Then
D. a and c


Answer: D

Computer Science & Information Technology

You might also like to view...

What is the effect of a “screen-friendly” typeface? Name at least three characteristics that make a font screen-friendly.

What will be an ideal response?

Computer Science & Information Technology

Which of the following is FALSE about the 7 x 7 guideline for presentations?

A) You may occasionally be forced to exceed this guideline B) It suggests that you try to use no more than seven lines per slide C) It suggests that a maximum of seven transitions and seven animations should be used in a presentation. D) It suggests that you use no more than seven words per line

Computer Science & Information Technology

Discuss Prolog facts and Prolog rules. How do these affect Prolog queries?

What will be an ideal response?

Computer Science & Information Technology

Once your navigation elements are in place, use ___________ to modify both the navigation code and the unordered list items code.

A. HTML colde B. Menu updater C. Navigation tools D. CSS styles

Computer Science & Information Technology