Chapter 4 Flashcards

1
Q

If-Then decision

A

A decision structure that 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
2
Q

Boolean Expression

A

An expression that represents only ONE of two states, usually expressed as either TRUE or FALSE.

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

If-Then Clause

A

The action that holds the action that results when the Boolean expressions in the decision is true.

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

Else Clause

A

The action that holds action or actions that execute only when the Boolean expressions is false.

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

Rational Comparison Operators

A

The symbols that express Boolean comparisons (, =, =, <>, ==)

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

Trivial Expression

A

An expressions that always evaluates as the same value.

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

Compound Condition

A

When multiple questions need to be answered before determining an outcome, this is constructed.

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

AND Decision

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 (Nested If)

A

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

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 ( AND Operator)

A

A symbol that you use to combine decisions so that two or more conditions 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

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

A logical feature in which expressions in each part of a large 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 more decisions, if at least on e 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 Operator)

A

A symbol that you combine decisions when any one condition can 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

A symbol that reverses the meaning of a Boolean expression.

17
Q

Range Check

A

Comparing a variable to a series of values that mark the limiting ends of ranges.

18
Q

Dead Path (Unreachable Path)

A

The logical path that can never be traveled.

19
Q

Precedence

A

The quality of an operation that determines the order in which it is evaluated.

20
Q

Less Than Operator

A

<

21
Q

Greater Than Operator

A

>

22
Q

Equal to Operator

A

= or ==

23
Q

Less Than or equal to operator

A

<=

24
Q

Greater Than or Equal to Operator

A

> =

25
Q

Not Equal to Operator

A

<> or !=

26
Q

And Operator General Rule

A

The General rule when using this decision operator, it is better to start with the decision that is less likely to be true.

27
Q

Or Operator General Rule

A

The General rule when using this decision operator, it is better to start with the decision that is more likely to be true.

28
Q

Gorge Boole (1815-1864)

A

Also known as the founder mathmatical logic, He approched logic more simply by expressing logical selections with common algebraic symbols. A logical expression was named after him.

29
Q

Greater Than (>), Less Than (>), and Equal To (=)

A

What are the three types of comparisons that any decisions can be made of?