CHAP 4 SELECTION STRUCTURES Flashcards
(6 cards)
1
Q
combines two logical expressions and requires that both expressions be TRUE for the entire expression to be TRUE.
A
AND ( && ) - logical and
2
Q
precedes a single expression and gives its opposite as the result.
A
not (!)
3
Q
an expression that evaluates to either true or false.
A
boolean exp.
4
Q
combines two logical expressions and states that if either or both of the expressions are TRUE, the entire expression is TRUE
A
OR ( || ) - logical or
5
Q
When boolean expressions are formed they must set up a relationship between items in the expression. This relationship is set up using a set of operators called the [ ] operators
A
relational
6
Q
choosing between two or more alternative actions.
A
selection