Level 74 Level 76
Level 75

Decision Structures & Boolean Logic


23 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

Ignore?
True
0 != 1
false, they generally are.
t/f: string comparisons are generally NOT case sensitive
Month != "October"
false, they can.
nested decision structures
this is when decisions are nested in order to test more than one condition
case structure
the -- -- lets the value of a variable or an expression determine which path of execution the program will take
False
0 != 0
are used between conditions to create complex Boolean expressions
logical operators
And
Both must be true in order to be true.
OR
Either Or Logic (can be one or the other). Only False False = False
NOT
logical operator: reverses the truth of an expression
End If.
AND example
End If
NOT example
decision structure
A -- -- allows a program to perform actions only under certain conditions
diamond
A -- symbol is used in flowcharts for an "if " statement.
relational operators
Determines whether a specific relationship exists between two values.
greater than
this operator means what: >
less than
this operator means what: <
this operator means what: >=
greater than or equal to
this operator means what: <=
less than or equal to
equal to
this operator means what: ==
not equal to
this operator means what: !=
a Boolean expression
An expression that produces a true or false value when evaluated.
If then else statement
Executes one group of statements if it's Boolean expression is true, or another group if its Boolean expression is false.