Multiple Choice
Case-Based Critical Thinking Questions Case 1 - Jack of All Trades
Jack of All Trades rents small power equipment to commercial and residential customers. The strCustomer variable is 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.
Which of the following If clauses would evaluate to True and apply the 10% discount for a commercial customer?
A) If strCustomer "C" AndAlso strMember "Y"
B) If strCustomer = "C" AndAlso strMember = "Y"
C) If strCustomer "R" OrElse strMember = "Y"
D) If strCustomer = "C" OrElse strMember = "Y"
Correct Answer:

Verified
Correct Answer:
Verified
Q4: Write a statement that changes the contents
Q11: A programmer must phrase the condition of
Q12: Write an If clause that will determine
Q20: The _ method displays a message box
Q22: Write an If...Then...Else statement that assigns the
Q30: The Backspace key is represented by the
Q40: The Not operator would make a True
Q46: Consider the expression 3 * 2 ^
Q57: Comparison operators are always evaluated after arithmetic
Q60: A control's _ event occurs each time