Exam 4: Decision Structures and Boolean Logic

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

If the expression is false,the ____________ operator will return true.

(Multiple Choice)
4.9/5
(37)

The ____________ statement is commonly used in programming languages for case structure.

(Short Answer)
4.8/5
(36)

Which structure is a logical design that controls the order in which a set of statements executes?

(Multiple Choice)
4.9/5
(39)

The _______ symbol indicates that some condition must be tested in a flowchart.

(Multiple Choice)
5.0/5
(39)

Which of the following operators reverses the logic of its operand?

(Multiple Choice)
4.9/5
(45)

The ____________ operator is used to determine whether the operands are exactly the same as each other.

(Short Answer)
4.8/5
(40)

Decision structures are also known as selection structures.

(True/False)
4.7/5
(39)

A condition is a _____________ expression.

(Multiple Choice)
4.8/5
(44)

The first line of the case structure starts with the word CASE followed by the test expression.

(True/False)
4.9/5
(39)

The value of the ____________ is compared with the values that follow each of the Case statements when a Select Case statement executes.

(Short Answer)
4.9/5
(35)

Which operator would make the following expression false? True _______ False

(Multiple Choice)
4.8/5
(33)

In a _________________ decision structure,one path is taken if a condition is true and the other path is taken if the condition is false.

(Short Answer)
4.7/5
(36)

In an expression with an OR operator,it does not matter which sub expression is true for the compound expression to be true.

(True/False)
4.8/5
(34)

The If-Then-Else statement can be used to simplify a complex nested decision structure.

(True/False)
4.9/5
(36)

The _________ operator is a unary operator as it works with only one operand.

(Multiple Choice)
4.8/5
(41)

What type of operator can be used to determine whether a specific relationship exists between two values?

(Multiple Choice)
4.9/5
(45)

The statement(s)that immediately follow the __________ statement is executed if the test expression in the case structure does not match any case values.

(Short Answer)
4.7/5
(30)

What two logical operators perform short-circuit evaluation?

(Multiple Choice)
4.8/5
(32)

Which operator would make the following expression true? False _______ True

(Multiple Choice)
4.7/5
(42)

It is possible to write a complete program using only a decision structure.

(True/False)
4.8/5
(30)
Showing 21 - 40 of 44
close modal

Filters

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