Wyo Visual Basic Ch. 4 Practice Test
Answers
True/False
- An If statement must have an ElseIf option. FALSE
- If a is True and b is False, then (a And b) is True. FALSE
- An even number is always evenly divisible by 2. TRUE
- The < symbol is a comparison operator.TRUE
- 20 mod 5 is 4. FALSE
- A Select Case statement can have 3 or more cases.TRUE
- It is possible to nest one If statement inside of another If statement.TRUE
- The ASCII value of a lowercase a is 13.FALSE
- The control expression ( intA > 3 Or intA < -9 ) is
a compound Boolean expression.TRUE
Fill in the Blank - Write out the word True or False for the control
expression problems.
- The operators And, Or, and Not are ______logical_______ operators.
- What is the ASCII value for an uppercase 'D'? 68
- If intA = 4 and intB = 8, simplify the control expression (intB >
intA * 2) FALSE
- If intA = 4 and intB = 8, simplify the control expression (25 Mod (intB
+ intA)) 1