CIS 230 - Visual Basic
Ch. 4 Worksheet #1
1. What part of an If / ElseIf / Else statement can be considered to be the default clause?
2. Write a sample If statement that only requires one line of code.
3. List 3 logical operators.
4. What will be the result of the statement ucase("visual") & ucase("BASIC")
5. List 3 relational operators.
6. What data type is the Text property of a text box?
7. Write example code demonstrating nested If statements using proper indentation.
8. What is validation?
9. What is the result of the condition "4" < 4 (you may not use an ASCII chart).
10. How does the Xor logical operator work? (look it up in the Help menu of VB if necessary)