Comp 230 All Assignments Comp 230 All Assignments | Page 3
Comp 230 Quiz 3
Click Below Link To Purchase
www.foxtutor.com/product/comp-230-quiz-3
1. (TCO 3) What decision structure will perform the following logic?
if customerCode is not equal to 1 then
discount = 0.25
else
discount = 0.50
2. (TCO 3) In VBScript, the _____ sign means greater than.
3. (TCO 3) Every condition in a chain of conditions in a Boolean expression must be true in order
for the entire expression to be evaluated as true. This defines the _____ Boolean operator in
VBScript.
4. (TCO 3) What logic operator could be used to replace the nested selection structure in this
pseudocode?
if empMedicalIns = "paid" then
print empIdNumber
endif
if empDentalIns = "installments" then
print empIdNumber
endif