Branches Flashcards

1
Q

have statements in each branch. An if branch has no statements in the else branch

A

If-else branches

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

have cascaded decisions along the false branches. Only one true branch can execute

A

If-elseif branches

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

==, !=, <, <=, >, >= are what kind of operators?

A

equality and relational

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

Logical operators are: ?, ?, and ?

A

and, or, not

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

true when both operands are true

A

Logical and

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

true when at least one of the two operands is true

A

Logical or

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

true when the one operand is false, and vice-versa

A

Logical not

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