Exam 4: Decision Structures

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

The If/Else instruction uses a Boolean condition to determine which set of instructions to execute.

(True/False)
4.9/5
(42)

Assume that a = 3 and b = 2.What is the value of the expression: a < b? ___________________

(True/False)
4.8/5
(40)

Logical operators are used to compare any two numeric values.

(True/False)
4.8/5
(34)

The Else part of the If/Else instruction must have at least one statement.

(True/False)
4.9/5
(47)

What type of operators are used to compare two numeric values?

(Multiple Choice)
4.7/5
(38)

The expression: either a == b or a != b, or both, is always true.

(True/False)
4.8/5
(35)

The If/Else decision structure uses a ___________________ condition to determine which set of instructions to execute.

(Short Answer)
4.9/5
(36)

What is the value of the expression: a == a? ___________________

(True/False)
4.9/5
(41)

Which type of structure is used to execute a set of instructions in the order in which they appear?

(Multiple Choice)
4.8/5
(48)

___________________ operators are used to compare two numeric values.

(Short Answer)
4.8/5
(36)
Showing 21 - 30 of 30
close modal

Filters

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