Deck 4: Making Decisions

ملء الشاشة (f)
exit full mode
سؤال
The NOT operator is a unary operator, meaning it takes only one operand.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false.
سؤال
A series of nested if statements is also called a ____ if statement.

A) stacked
B) cascading
C) indented
D) waterfall
سؤال
The keyword that is NOT included in a single-alternative selection is ____.

A) if
B) then
C) else
D) endif
سؤال
A(n) ____ decision is a decision in which two conditions must be true for an action to take place.

A) OR
B) XOR
C) AND
D) OR-ELSE
سؤال
When you combine AND and OR operators, the OR operators take precedence, meaning their Boolean values are evaluated first.
سؤال
The ____ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.

A) else
B) endif
C) if-then
D) Boolean
سؤال
____ operators require two operands.

A) Unary
B) Tertiary
C) Binary
D) Dual
سؤال
A ____ expression is one that represents only one of two states, usually expressed as true or false.

A) single-alternative
B) Boolean
C) Unicode
D) dual
سؤال
Any decision can be made using combinations of just two types of comparisons: equal and not equal.
سؤال
Both operands in a comparison expression must be the same ____.

A) value
B) name
C) length
D) data type
سؤال
You can use parentheses to override the default order of operations.
سؤال
Usually, ____ variables are not considered to be equal unless they are identical.

A) string
B) integer
C) character
D) floating point
سؤال
Most programming languages limit the number of AND and OR operators in an expression.
سؤال
In any Boolean expression, the two values compared can be either variables or constants.
سؤال
Most programming languages allow you to ask two or more questions in a single comparison.
سؤال
Most languages allow you to use a variation of the decision structure called the ____ structure when you must nest a series of decisions about a single variable.

A) blocked
B) case
C) AND IF
D) logical
سؤال
When you ask multiple questions before an outcome is determined, you create a ____ condition.

A) dual-alternative
B) nested
C) single-alternative
D) compound
سؤال
Every decision you make in a computer program involves evaluating a Boolean expression.
سؤال
When you need to satisfy two or more criteria to initiate an event in a program, you must make sure that the second decision is made entirely independently of the first decision.
سؤال
When creating a truth table, you must determine how many possible Boolean value combinations exist for the conditions. If there are two conditions, ____ combinations will exist.

A) two
B) four
C) eight
D) 16
سؤال
In a truth table, the expression ____ is true.
B) true AND false
C) false AND true
D) false AND false
سؤال
Most programming languages allow you to ask two or more questions in a single comparison by using a(n) ____ operator that joins decisions in a single statement.

A) AND
B) OR
C) IF
D) XOR
سؤال
A ____________________ selection is one in which an action is associated with each of two possible outcomes.
سؤال
For maximum efficiency, a good rule of thumb in an AND decision is to ____.

A) first ask the question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an OR decision and ask the question more likely to be true
D) rewrite it as an OR decision and ask the question more likely to be false
سؤال
When you ____________________ decisions because the resulting action requires that two conditions be true, you must decide which of the two decisions to make first.
سؤال
You can use ____ for clarity and to override the default order of operations.

A) parentheses
B) truth tables
C) multiplication
D) NOT
سؤال
In a truth table, the expression ____ is false.
B) true OR false
C) false OR true
D) false OR false
سؤال
You can perform a ____ by making comparisons using either the lowest or highest value in a range of values.

A) range check
B) nested if
C) logic check
D) trivial expression
سؤال
When you combine AND and OR operators, the ____ operators take precedence, meaning their Boolean values are evaluated first.

A) addition
B) AND
C) OR
D) division
سؤال
The NOT operator is a ____________________ operator, meaning it takes only one operand.
سؤال
C#, C++, C, and Java use the symbol ____ as the logical OR operator.

A) %
B) $
C) ||
D) ^
سؤال
____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.

A) Decision matrices
B) Decision diagrams
C) Truth diagrams
D) Truth tables
سؤال
For maximum efficiency, a good rule of thumb in an OR decision is to ____.

A) first ask the question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an AND decision and ask the question more likely to be true
D) rewrite it as an AND decision and ask the question more likely to be false
سؤال
____ evaluation is when each part of an expression that uses an operator is evaluated only as far as necessary to determine whether the entire expression is true or false.

A) Truth
B) Short-circuit
C) Binary
D) Loop
سؤال
When you use the logical ____ operator, only one of the listed conditions must be met for the resulting action to take place.

A) OR
B) nested
C) AND
D) NOT
سؤال
In an AND decision, first ask the question that is less likely to be ____________________.
سؤال
The conditional AND operator in Java, C++, and C# is ____.

A) &
B) AND
C) **
D) &&
سؤال
The ____________________ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.
سؤال
You use the logical ____ operator to reverse the meaning of a Boolean expression.

A) AND
B) XOR
C) OR
D) NOT
سؤال
Who was George Boole and what did he do?
سؤال
Match between columns
Used to override the default order of operations
Boolean expression
Used to override the default order of operations
else clause
Used to override the default order of operations
trivial expressions
Used to override the default order of operations
=, >, =,
Used to override the default order of operations
a decision within another decision
Used to override the default order of operations
case structure
Used to override the default order of operations
AND
Used to override the default order of operations
logical OR
Used to override the default order of operations
dead
Used to override the default order of operations
parentheses
Will always evaluate to the same result
Boolean expression
Will always evaluate to the same result
else clause
Will always evaluate to the same result
trivial expressions
Will always evaluate to the same result
=, >, =,
Will always evaluate to the same result
a decision within another decision
Will always evaluate to the same result
case structure
Will always evaluate to the same result
AND
Will always evaluate to the same result
logical OR
Will always evaluate to the same result
dead
Will always evaluate to the same result
parentheses
Relational comparison operators
Boolean expression
Relational comparison operators
else clause
Relational comparison operators
trivial expressions
Relational comparison operators
=, >, =,
Relational comparison operators
a decision within another decision
Relational comparison operators
case structure
Relational comparison operators
AND
Relational comparison operators
logical OR
Relational comparison operators
dead
Relational comparison operators
parentheses
Part of a decision that executes only when the tested condition in the decision is false
Boolean expression
Part of a decision that executes only when the tested condition in the decision is false
else clause
Part of a decision that executes only when the tested condition in the decision is false
trivial expressions
Part of a decision that executes only when the tested condition in the decision is false
=, >, =,
Part of a decision that executes only when the tested condition in the decision is false
a decision within another decision
Part of a decision that executes only when the tested condition in the decision is false
case structure
Part of a decision that executes only when the tested condition in the decision is false
AND
Part of a decision that executes only when the tested condition in the decision is false
logical OR
Part of a decision that executes only when the tested condition in the decision is false
dead
Part of a decision that executes only when the tested condition in the decision is false
parentheses
An expression whose value can be only true or false
Boolean expression
An expression whose value can be only true or false
else clause
An expression whose value can be only true or false
trivial expressions
An expression whose value can be only true or false
=, >, =,
An expression whose value can be only true or false
a decision within another decision
An expression whose value can be only true or false
case structure
An expression whose value can be only true or false
AND
An expression whose value can be only true or false
logical OR
An expression whose value can be only true or false
dead
An expression whose value can be only true or false
parentheses
Nested if
Boolean expression
Nested if
else clause
Nested if
trivial expressions
Nested if
=, >, =,
Nested if
a decision within another decision
Nested if
case structure
Nested if
AND
Nested if
logical OR
Nested if
dead
Nested if
parentheses
A path that can never be traveled
Boolean expression
A path that can never be traveled
else clause
A path that can never be traveled
trivial expressions
A path that can never be traveled
=, >, =,
A path that can never be traveled
a decision within another decision
A path that can never be traveled
case structure
A path that can never be traveled
AND
A path that can never be traveled
logical OR
A path that can never be traveled
dead
A path that can never be traveled
parentheses
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
Boolean expression
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
else clause
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
trivial expressions
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
=, >, =,
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
a decision within another decision
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
case structure
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
AND
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
logical OR
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
dead
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
parentheses
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
Boolean expression
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
else clause
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
trivial expressions
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
=, >, =,
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
a decision within another decision
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
case structure
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
AND
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
logical OR
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
dead
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
parentheses
Used when you must nest a series of decisions about a single variable
Boolean expression
Used when you must nest a series of decisions about a single variable
else clause
Used when you must nest a series of decisions about a single variable
trivial expressions
Used when you must nest a series of decisions about a single variable
=, >, =,
Used when you must nest a series of decisions about a single variable
a decision within another decision
Used when you must nest a series of decisions about a single variable
case structure
Used when you must nest a series of decisions about a single variable
AND
Used when you must nest a series of decisions about a single variable
logical OR
Used when you must nest a series of decisions about a single variable
dead
Used when you must nest a series of decisions about a single variable
parentheses
سؤال
Describe a Boolean expression.
سؤال
How can you improve the efficiency of a nested decision?
سؤال
When you combine AND and OR operators within the same statement, which takes precedence?
سؤال
In an OR decision, why is it more efficient to first ask the question that is more likely to be true?
سؤال
List the three types of comparisons that enable the making of any decision.
سؤال
When would you use a negative comparison?
سؤال
List three techniques to avoid confusion when mixing AND and OR operators.
سؤال
Explain the purpose and use of the AND operator.
سؤال
Explain what a range check is and provide an example.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/51
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Making Decisions
1
The NOT operator is a unary operator, meaning it takes only one operand.
True
2
A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false.
True
3
A series of nested if statements is also called a ____ if statement.

A) stacked
B) cascading
C) indented
D) waterfall
B
4
The keyword that is NOT included in a single-alternative selection is ____.

A) if
B) then
C) else
D) endif
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
5
A(n) ____ decision is a decision in which two conditions must be true for an action to take place.

A) OR
B) XOR
C) AND
D) OR-ELSE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
6
When you combine AND and OR operators, the OR operators take precedence, meaning their Boolean values are evaluated first.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.

A) else
B) endif
C) if-then
D) Boolean
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
8
____ operators require two operands.

A) Unary
B) Tertiary
C) Binary
D) Dual
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
9
A ____ expression is one that represents only one of two states, usually expressed as true or false.

A) single-alternative
B) Boolean
C) Unicode
D) dual
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
10
Any decision can be made using combinations of just two types of comparisons: equal and not equal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
11
Both operands in a comparison expression must be the same ____.

A) value
B) name
C) length
D) data type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
12
You can use parentheses to override the default order of operations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
13
Usually, ____ variables are not considered to be equal unless they are identical.

A) string
B) integer
C) character
D) floating point
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
14
Most programming languages limit the number of AND and OR operators in an expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
15
In any Boolean expression, the two values compared can be either variables or constants.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
16
Most programming languages allow you to ask two or more questions in a single comparison.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
17
Most languages allow you to use a variation of the decision structure called the ____ structure when you must nest a series of decisions about a single variable.

A) blocked
B) case
C) AND IF
D) logical
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
18
When you ask multiple questions before an outcome is determined, you create a ____ condition.

A) dual-alternative
B) nested
C) single-alternative
D) compound
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
19
Every decision you make in a computer program involves evaluating a Boolean expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
20
When you need to satisfy two or more criteria to initiate an event in a program, you must make sure that the second decision is made entirely independently of the first decision.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
21
When creating a truth table, you must determine how many possible Boolean value combinations exist for the conditions. If there are two conditions, ____ combinations will exist.

A) two
B) four
C) eight
D) 16
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
22
In a truth table, the expression ____ is true.
B) true AND false
C) false AND true
D) false AND false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
23
Most programming languages allow you to ask two or more questions in a single comparison by using a(n) ____ operator that joins decisions in a single statement.

A) AND
B) OR
C) IF
D) XOR
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
24
A ____________________ selection is one in which an action is associated with each of two possible outcomes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
25
For maximum efficiency, a good rule of thumb in an AND decision is to ____.

A) first ask the question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an OR decision and ask the question more likely to be true
D) rewrite it as an OR decision and ask the question more likely to be false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
26
When you ____________________ decisions because the resulting action requires that two conditions be true, you must decide which of the two decisions to make first.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
27
You can use ____ for clarity and to override the default order of operations.

A) parentheses
B) truth tables
C) multiplication
D) NOT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
28
In a truth table, the expression ____ is false.
B) true OR false
C) false OR true
D) false OR false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
29
You can perform a ____ by making comparisons using either the lowest or highest value in a range of values.

A) range check
B) nested if
C) logic check
D) trivial expression
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
30
When you combine AND and OR operators, the ____ operators take precedence, meaning their Boolean values are evaluated first.

A) addition
B) AND
C) OR
D) division
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
31
The NOT operator is a ____________________ operator, meaning it takes only one operand.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
32
C#, C++, C, and Java use the symbol ____ as the logical OR operator.

A) %
B) $
C) ||
D) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
33
____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.

A) Decision matrices
B) Decision diagrams
C) Truth diagrams
D) Truth tables
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
34
For maximum efficiency, a good rule of thumb in an OR decision is to ____.

A) first ask the question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an AND decision and ask the question more likely to be true
D) rewrite it as an AND decision and ask the question more likely to be false
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
35
____ evaluation is when each part of an expression that uses an operator is evaluated only as far as necessary to determine whether the entire expression is true or false.

A) Truth
B) Short-circuit
C) Binary
D) Loop
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
36
When you use the logical ____ operator, only one of the listed conditions must be met for the resulting action to take place.

A) OR
B) nested
C) AND
D) NOT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
37
In an AND decision, first ask the question that is less likely to be ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
38
The conditional AND operator in Java, C++, and C# is ____.

A) &
B) AND
C) **
D) &&
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
39
The ____________________ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
40
You use the logical ____ operator to reverse the meaning of a Boolean expression.

A) AND
B) XOR
C) OR
D) NOT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
41
Who was George Boole and what did he do?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
42
Match between columns
Used to override the default order of operations
Boolean expression
Used to override the default order of operations
else clause
Used to override the default order of operations
trivial expressions
Used to override the default order of operations
=, >, =,
Used to override the default order of operations
a decision within another decision
Used to override the default order of operations
case structure
Used to override the default order of operations
AND
Used to override the default order of operations
logical OR
Used to override the default order of operations
dead
Used to override the default order of operations
parentheses
Will always evaluate to the same result
Boolean expression
Will always evaluate to the same result
else clause
Will always evaluate to the same result
trivial expressions
Will always evaluate to the same result
=, >, =,
Will always evaluate to the same result
a decision within another decision
Will always evaluate to the same result
case structure
Will always evaluate to the same result
AND
Will always evaluate to the same result
logical OR
Will always evaluate to the same result
dead
Will always evaluate to the same result
parentheses
Relational comparison operators
Boolean expression
Relational comparison operators
else clause
Relational comparison operators
trivial expressions
Relational comparison operators
=, >, =,
Relational comparison operators
a decision within another decision
Relational comparison operators
case structure
Relational comparison operators
AND
Relational comparison operators
logical OR
Relational comparison operators
dead
Relational comparison operators
parentheses
Part of a decision that executes only when the tested condition in the decision is false
Boolean expression
Part of a decision that executes only when the tested condition in the decision is false
else clause
Part of a decision that executes only when the tested condition in the decision is false
trivial expressions
Part of a decision that executes only when the tested condition in the decision is false
=, >, =,
Part of a decision that executes only when the tested condition in the decision is false
a decision within another decision
Part of a decision that executes only when the tested condition in the decision is false
case structure
Part of a decision that executes only when the tested condition in the decision is false
AND
Part of a decision that executes only when the tested condition in the decision is false
logical OR
Part of a decision that executes only when the tested condition in the decision is false
dead
Part of a decision that executes only when the tested condition in the decision is false
parentheses
An expression whose value can be only true or false
Boolean expression
An expression whose value can be only true or false
else clause
An expression whose value can be only true or false
trivial expressions
An expression whose value can be only true or false
=, >, =,
An expression whose value can be only true or false
a decision within another decision
An expression whose value can be only true or false
case structure
An expression whose value can be only true or false
AND
An expression whose value can be only true or false
logical OR
An expression whose value can be only true or false
dead
An expression whose value can be only true or false
parentheses
Nested if
Boolean expression
Nested if
else clause
Nested if
trivial expressions
Nested if
=, >, =,
Nested if
a decision within another decision
Nested if
case structure
Nested if
AND
Nested if
logical OR
Nested if
dead
Nested if
parentheses
A path that can never be traveled
Boolean expression
A path that can never be traveled
else clause
A path that can never be traveled
trivial expressions
A path that can never be traveled
=, >, =,
A path that can never be traveled
a decision within another decision
A path that can never be traveled
case structure
A path that can never be traveled
AND
A path that can never be traveled
logical OR
A path that can never be traveled
dead
A path that can never be traveled
parentheses
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
Boolean expression
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
else clause
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
trivial expressions
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
=, >, =,
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
a decision within another decision
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
case structure
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
AND
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
logical OR
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
dead
When this operator is used, only one of the listed conditions must be met for the resulting action to take place
parentheses
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
Boolean expression
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
else clause
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
trivial expressions
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
=, >, =,
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
a decision within another decision
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
case structure
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
AND
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
logical OR
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
dead
Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true
parentheses
Used when you must nest a series of decisions about a single variable
Boolean expression
Used when you must nest a series of decisions about a single variable
else clause
Used when you must nest a series of decisions about a single variable
trivial expressions
Used when you must nest a series of decisions about a single variable
=, >, =,
Used when you must nest a series of decisions about a single variable
a decision within another decision
Used when you must nest a series of decisions about a single variable
case structure
Used when you must nest a series of decisions about a single variable
AND
Used when you must nest a series of decisions about a single variable
logical OR
Used when you must nest a series of decisions about a single variable
dead
Used when you must nest a series of decisions about a single variable
parentheses
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
43
Describe a Boolean expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
44
How can you improve the efficiency of a nested decision?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
45
When you combine AND and OR operators within the same statement, which takes precedence?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
46
In an OR decision, why is it more efficient to first ask the question that is more likely to be true?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
47
List the three types of comparisons that enable the making of any decision.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
48
When would you use a negative comparison?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
49
List three techniques to avoid confusion when mixing AND and OR operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
50
Explain the purpose and use of the AND operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
51
Explain what a range check is and provide an example.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.