Exam 4: Making Decisions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In a truth table, the expression ____ is true.

(Multiple Choice)
4.9/5
(38)

For maximum efficiency, a good rule of thumb in an OR decision is to ____.

(Multiple Choice)
4.8/5
(39)

The NOT operator is a unary operator, meaning it takes only one operand.

(True/False)
4.8/5
(33)

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

(Multiple Choice)
4.7/5
(38)

You can perform a ____ by making comparisons using either the lowest or highest value in a range of values.

(Multiple Choice)
4.8/5
(34)

____ 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.

(Multiple Choice)
4.8/5
(37)

For maximum efficiency, a good rule of thumb in an AND decision is to ____.

(Multiple Choice)
4.8/5
(33)

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.

(Multiple Choice)
4.8/5
(42)

In any Boolean expression, the two values compared can be either variables or constants.

(True/False)
4.8/5
(49)

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.

(Multiple Choice)
4.8/5
(40)

When you combine AND and OR operators within the same statement, which takes precedence?

(Essay)
4.7/5
(45)

Every decision you make in a computer program involves evaluating a Boolean expression.

(True/False)
4.8/5
(45)

In a truth table, the expression ____ is false.

(Multiple Choice)
4.8/5
(34)

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.

(Short Answer)
4.7/5
(27)

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.

(Multiple Choice)
4.8/5
(42)

When would you use a negative comparison?

(Essay)
4.9/5
(30)

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.

(True/False)
4.9/5
(31)

You can use parentheses to override the default order of operations.

(True/False)
4.9/5
(37)

The NOT operator is a ____________________ operator, meaning it takes only one operand.

(Short Answer)
4.9/5
(40)

Explain the purpose and use of the AND operator.

(Essay)
4.9/5
(34)
Showing 21 - 40 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)