Branches Flashcards
1
Q
have statements in each branch. An if branch has no statements in the else branch
A
If-else branches
2
Q
have cascaded decisions along the false branches. Only one true branch can execute
A
If-elseif branches
3
Q
==, !=, <, <=, >, >= are what kind of operators?
A
equality and relational
4
Q
Logical operators are: ?, ?, and ?
A
and, or, not
5
Q
true when both operands are true
A
Logical and
6
Q
true when at least one of the two operands is true
A
Logical or
7
Q
true when the one operand is false, and vice-versa
A
Logical not