Exam 4: Making Decisions

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

A ____ expression is one that represents only one of two states,usually expressed as true or false.

Free
(Multiple Choice)
4.8/5
(79)
Correct Answer:
Verified

B

In a truth table,the expression ____ is false.

Free
(Multiple Choice)
4.8/5
(66)
Correct Answer:
Verified

D

The ____ clause of the decision is the part that executes only when the tested condition in the decision is false.

Free
(Multiple Choice)
4.9/5
(92)
Correct Answer:
Verified

C

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

(Essay)
4.9/5
(71)

Match each term with a statement below. -An evaluation with multiple parts

(Multiple Choice)
4.8/5
(70)

How can you avoid common errors in an OR selection?

(Essay)
4.9/5
(76)

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

(True/False)
4.9/5
(84)

How can you improve the efficiency of a nested decision?

(Essay)
4.8/5
(76)

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/False)
4.9/5
(79)

Match each term with a statement below. -Used to override the default order of operations

(Multiple Choice)
4.8/5
(80)

Match each term with a statement below. -Nested if

(Multiple Choice)
4.9/5
(72)

You can use ____ for clarity and to override the default order of operations.

(Multiple Choice)
4.9/5
(88)

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

(True/False)
4.8/5
(68)

When you ask multiple questions before an outcome is determined,you create a ____ condition.

(Multiple Choice)
4.7/5
(83)

How can you avoid common errors in an AND selection?

(Essay)
4.9/5
(76)

A ____________________ selection is one in which an action is associated with each of two possible outcomes.

(Short Answer)
4.9/5
(85)

To avoid confusion,you can use ____statements instead of using AND and OR operators.

(Multiple Choice)
4.9/5
(71)

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.7/5
(84)

Explain what a range check is and provide an example.

(Essay)
5.0/5
(69)

When you combine AND and OR operators,the OR operators take precedence,meaning their Boolean values are evaluated first.

(True/False)
4.7/5
(87)
Showing 1 - 20 of 60
close modal

Filters

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