Site MapHelpFeedbackTrue or False
True or False
(See related pages)

1
In an If statement, when the expression is false, only the Else clause, if present, is executed
A)True
B)False
2
A block of If / Then / Else must begin with an If statement and end with an EndOfIf statement
A)True
B)False
3
In an If / Then / Else statement, the Else clause is optional
A)True
B)False
4
The Unified Modeling Language (UML) can be used to nest If statements in code
A)True
B)False
5
It's a good idea to always use the ToUpper or ToLower method on the Text property of text boxes, whenever comparing string values.
A)True
B)False
6
Or and And are logical operators used in compound expressions
A)True
B)False
7
The AND operator requires that both conditions be True for the compound expression to be True
A)True
B)False
8
The code: If NumberAInteger > NumberBInteger AND NumberBInteger > NumberCInteger Then, evaluates True when NumberAInteger=3, NumberBInteger=5, and NumberCInteger=2.
A)True
B)False
9
The code: If NumberAInteger > NumberBInteger OR NumberBInteger > NumberCInteger Then, evaluates True when NumberAInteger=3, NumberBInteger=5, and NumberCInteger=2
A)True
B)False
10
If statements containing additional Ifs are said to be nested If statements
A)True
B)False







Bradley:Programming in VB 2008Online Learning Center

Home > Chapter 4 > True or False