Level 76 Level 78
Level 77

Logic & Design: Decision Structures & Boolean Logi

30 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

decision structure
A -- -- allows a program to perform actions only under certain conditions
control structure
a logical design that controls the order in which a set of statements execute
sequence structure
a set of statements that execute in the order that they appear
selection structure
another name for a decision structure
diamond symbol
indicates that some condition must be tested
single alternative decision structure
provides only one alternative path of execution
If-Then statement
used to write a single alternative decision structure
End If clause
marks the end of an If-Then statement
decision structures
cannot be used alone to create a complete program
a criterion, or rule, that determines which records are selected in a query
Boolean expressions
expressions that can be evaluated as either True or False
relational operator
a -- -- determines whether a specific relationship exists between two values
greater than
less than
greater than or equal to
less than or equal to
= =
does equal
not equal
miles > 15
Is miles greater than 15?
An assignment operator that gives the variable on the left the value on the right.
dual alternative decision structure
has two possible paths of execution--one path is taken if a condition is True and the other path is taken if the condition is False
If-Then-Else statement
used to write a dual alternative decision structure
Else clause
executes if the If-Then expressions are False
must be aligned
If clause, Else clause and End If clause
conditionally executed clauses
string comparisons
are case sensitive
End If
NOT example
nested decision structure
used to test more than one condition
proper alignment and indentation
make nested decision structures easier to debug
If-Then-Else-If statement
makes complex nested decision structures easier to write