Program4

8 September 2022
4.7 (114 reviews)
17 test answers

Unlock all answers in this set

Unlock answers (13)
question
When you combine AND and OR operators, the OR operators take precedence, meaning their Boolean values are evaluated first.
answer
false
question
The ____ sign means "greater than."
answer
>
question
C#, C++, C, and Java use the symbol ____ as the logical OR operator.
answer
ll
question
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.
answer
true
question
Usually, ____ variables are not considered to be equal unless they are identical.
answer
string
question
You can use ____ for clarity and to override the default order of operations
answer
parentheses
question
The keyword that is NOT included in a single-alternative selection is ____.
answer
else
question
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.
answer
three
question
Any decision can be made using combinations of just two types of comparisons: equal and not equal.
answer
false
question
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.
answer
false
question
Usually, ____ variables are not considered to be equal unless they are identical.
answer
String
question
Boolean expressions are named after ____.
answer
George Boole
question
Most programming languages allow you to ask two or more questions in a single comparison.
answer
True
question
In any Boolean expression, the two values compared can be either variables or constants.
answer
True
question
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.
answer
case
question
Usually, ____ variables are not considered to be equal unless they are identical.
answer
string
question
Besides AND and OR operators, most languages support a NOT operator.
answer
True