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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A … has at least two (2) operands and one (1) relational operator

A

relational expressions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

consists of Boolean variables, Boolean constants, relational expressions, and Boolean operators

A

Boolean expressions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Precedence of the arithmetic, relational, and Boolean operators in the C-based language

A

postfix ++, –
unary +, -, prefix ++, –, !
*, /, %
binary +, -
<, >, <=, >=
=, !=
&&

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly