Multiple Choice
Which of the following pseudocode statements expresses the condition below?
A hotel customer gets a 10% discount for showing a hotel club card or a travel club card.
A) If showsHotelClubCard And showsTravelClubCard Then
Discount = 0.10
Else
Discount = 0.00
End If
B) If showsHotelClubCard Or showsTravelClubCard Then
Discount = 0.00
Else
Discount = 0.10
End If
C) If showsHotelClubCard Or showsTravelClubCard Then
Discount = 0.10
Else
Discount = 0.00
End If
D) If showsHotelClubCard And showsTravelClubCard Then
Discount = 0.00
Else
Discount = 0.10
End If
Correct Answer:

Verified
Correct Answer:
Verified
Q5: In JavaScript, you should use parentheses to
Q6: And and Or are called _ because
Q7: In the following pseudocode, if any of
Q8: Which of the following is considered a
Q9: In JavaScript, the Not operator is ||.
Q11: On a binary tree, _ are used
Q12: Logical operations have a specified order of
Q13: A(n) _ is used when you need
Q14: A _ traces all combinations by starting
Q15: Which of the following sets of conditions