Relational and Boolean Expressions Flashcards
1
Q
A .. is an operator that is used to compare the values of two (2) operands
A
relational operator
2
Q
A … has at least two (2) operands and one (1) relational operator
A
relational expressions
3
Q
consists of Boolean variables, Boolean constants, relational expressions, and Boolean operators
A
Boolean expressions
4
Q
Precedence of the arithmetic, relational, and Boolean operators in the C-based language
A
postfix ++, –
unary +, -, prefix ++, –, !
*, /, %
binary +, -
<, >, <=, >=
=, !=
&&
5
Q
A … of an expression is one in which the result is determine without evaluating all of the operands and/or operators
A
short-circuit evaluation