Chapter Four Flashcards

1
Q

Boolean expression

A

Is one that represents only one of two states usually expressed as true or false

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

If-then Decision Structure

A

Contains a tested Boolean expression and an action that is taken only when the expression is true.

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

If-then clause

A

Of a Decision holds the statements that execute when the tested Boolean expression is true.

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

Else clause

A

Of a Decision holds the statements that execute only when tested Boolean expression is false.

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

Relational comparison operators

A

Are the symbols that express Boolean comparisons. Examples include =, >, =, <=, and <>.

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

Trivial expression

A

Is one that always evaluates to the same value.

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

Compound condition

A

Is constructed when you need to ask multiple questions before determining an outcome

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

AND decsion

A

Contains two or more decisions all conditions must be true for an action to take place.

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

Nested Decision or a nested If

A

Is a decision within either the if-then or else clause of another decision.

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

Cascading if Statement

A

Is a series of nested if statements.

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

Conditional and operator (or more simply and AND operator)

A

Is a symbol that you use to combine conditions when they all must be true for an action to occur.

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

Truth tables

A

Are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.

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

Short circuit evaluation

A

Is a logical feature in which expressions in each part of a larger expression are evaluated only as far as necessary to determine the final outcome.

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

OR Decision

A

Contains two or more decisions if at least one condition is met the resulting action takes place

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

Conditional OR operator (or more simply an OR operator)

A

Is a symbol that you can use to combine conditions when at least one of them must be true for an action to occur.

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

Logical NOT operator

A

Is a symbol that reverses the meaning of a Boolean expression.

17
Q

Unary operator

A

Is one that uses only one operand.

18
Q

Range Check

A

Determines where a variable falls arithmetically when compared to a series of values that mark limiting ends.

19
Q

Dead, or unreachable path

A

Is a logical path that can never be traveled.