Exam 4: Making Decisions

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

You use the case structure only when a series of decisions is based on a single expression.

(True/False)
4.9/5
(87)

Match each term with a statement below. -Used when there are several distinct possible values for a single variable,and each value requires a different subsequent action

(Multiple Choice)
4.9/5
(76)

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

(True/False)
4.8/5
(77)

Usually,____ variables are not considered to be equal unless they are identical.

(Multiple Choice)
4.8/5
(71)

Any decision can be made using combinations of just two types of comparisons: equal and not equal.

(True/False)
4.8/5
(75)

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

(Multiple Choice)
4.9/5
(72)

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)
5.0/5
(72)

C#,C++,C,and Java use the symbol ____ as the logical OR operator.

(Multiple Choice)
4.7/5
(71)

You use the ____ operator to reverse the meaning of a Boolean expression.

(Multiple Choice)
4.9/5
(76)

List the three types of comparisons that enable the making of any decision.

(Essay)
4.9/5
(73)

A(n)____ decision is a decision in which two conditions must be true for an action to take place.

(Multiple Choice)
4.7/5
(90)

In an OR decision,why is it more efficient to first ask the question that is more likely to be true?

(Essay)
5.0/5
(87)

____ 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.8/5
(90)

Match each term with a statement below. -Using this operator,an expression that tests a condition with two parts that must both evaluate to true for an action to take place

(Multiple Choice)
4.9/5
(86)

When you use the ____ operator,only one of the listed conditions must be met for the resulting action to take place.

(Multiple Choice)
4.8/5
(71)

Match each term with a statement below. -When this operator is used,only one of the listed conditions must be met for the resulting action to take place

(Multiple Choice)
4.9/5
(79)

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

(Multiple Choice)
4.9/5
(80)

List three techniques to avoid confusion when mixing AND and OR operators.

(Essay)
4.9/5
(75)

Most languages allow a specialized selection structure called the ____ structure when there are several distinct possible values for a single variable,and each value requires a different subsequent action.

(Multiple Choice)
4.9/5
(84)

Most programming languages allow you to ask two or more questions in a single comparison.

(True/False)
5.0/5
(73)
Showing 21 - 40 of 60
close modal

Filters

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