Quiz 4 Flashcards
The statement
txtBox.Text = Chr(162)
causes Visual Basic to display the cents symbol
(ANSI 162) in the text box, regardless of the font in use
False
“1st Place” < “2nd Place”
True
The following two statements are equivalent:
Not (a < b)
a > b
False
In Visual Basic, the letter j is considered to be greater than the letter y
False
The And operator requires that both conditions be true for the compound condition to be
true
True
If two simple conditions are true, the compound condition created from them by the Or
operator is also true
True
The condition “Y” = “y” is true
False
If two simple conditions are true, the compound condition created from them by the And
operator is also true
True
The following condition evaluates to True:
“DOG” > “CAT”) And (“CAT” > “BIRD”) And (“BIRD” > “aardvark”
False
Assume that A, B, and C are conditions, with A being true, B being true, and C being false.
Give the truth value of (A And (Not B))
False
Assume that A, B, and C are conditions, with A being true, B being true, and C being false.
Give the truth value of (A And Not (B or C)).
False
Assume that A, B, and C are conditions, with A being true, B being true, and C being false.
Give the truth value of (Not (A And B))
False
Is the following condition True or False
(assume a = 2, b = 3, and c = 3)?
(a = c) Or (b = c)
True
< and = are examples of relational operator
True
Conditions can involve variables, operators, and functions
True
Two strings are compared working from left to right, character by character, to determine
which one should precede the other
True
The value of “education”.EndsWith(“on”) is True
True
The value of “education”.StartsWith(“ED”) is True
False
The value of IsNumeric(“$20.00”) is True
True
The value of IsNumeric(“Twenty”) is True
False
When an If block has completed execution, the program instruction immediately following
the If block is executed
True