Question: 25. The statement with And Operator (condition 1) AND (condition 2) yields True a. when both conditions are True c. when only condition 2 is
25. The statement with And Operator (condition 1) AND (condition 2) yields True
a. when both conditions are True
c. when only condition 2 is True
b. when only condition 1 is True
d. when both conditions are False 26. The statement with OR Operator (condition 1) OR (condition 2) yields True
a. when only condition 1 is True
c. when only condition 2 is True
b. when at least one of the conditions is True
d. when both conditions are False 27. The Not operator
a. Changes the logic value of a logic expression to True c. Inverts the logic value of a logic expression
b. Does not change any value
d. Changes the logic value of a logic expression to False 28. The End If marks the end of the IfThen block of code
a. Yes, the above statement is correct
c. End If is not part of the If Then block of code b. Declares If as a variable
d. End If is just a comment 29. If in a VBA program Var1 is of type double, and if Var1= 1.5, then the logic expression (Var1 > 2.0)
a. is True
c. is False
b. We cannot tell
d. is meaningless 30. If in a VBA program Var1 and Var2 are both of type double, and if Var1= 1.5, and Var2= 1.5, then the logic expression (Var1 > Var2)
a. is True
c. We cannot tell
b. is False
d. is meaningless
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
