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