Chapter 4 Flashcards
single-alternative selection structure
4-6
requires one or more actions to be taken only when its condition evaluates to true.
A dual-alternative selection structure,
4-9
requires one set of instructions to be followed only when the condition is true and a
different set of instructions only when it is false.
decision symbol
4-2
represent the selection structure’s condition (decision).
statement block
4-3
A set of statements terminated
by an Else, End If, Loop, or Next clause
comparison operators
4-4
= opposite <>, >, <=, <, >=
Difference Between Comparison and Arithmetic
4-5
Arithmetic = signs ><
Comparison = basic math -, +
logical operators
4-11 and 4-12
combine two or more
conditions, called subconditions, into one compound condition
compound condition
evaluate to either True or False
truth tables
4-13
summarize how the computer evaluates the logical operators
in an expression.
ToUpper method and ToLower method
4-19
Full uppercase and Full lowercase text
Trim method
4-20 and 4-22
removes any space characters from both the beginning and the end of a string.
nested selection structure
4-26
selection structure’s true path or its false path contains another selection structure, the inner selection structure
multiple-alternative selection or extended
4-30
selection structure that can choose from several different
alternatives.
Select Case
4-32
e keywords Select Case, followed by a selectorExpression, which can contain any combination of variables, named constants, literals, keywords, functions, methods, operators, and properties.
check box
4-37 and code 4-38
option that the user can either choose to select or choose not to select.