Multiple Choice
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
Q1: You use the _ method to select
Q2: The _ operator is evaluated last in
Q4: Write a statement that changes the contents
Q5: To prevent a text box from accepting
Q6: Write an If statement that allows only
Q7: You can use a(n)_ to visually separate
Q8: What is the value of the following
Q9: A variable that has _ scope can
Q10: Logical operators are sometimes referred to as
Q11: A programmer must phrase the condition of