Exam 4: Making Decisions

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

A(n) ____________ is a variable that often signals the value of a Boolean condition.

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

B

The ! operator has a higher precedence than the relational operators (such as < or >).

Free
(True/False)
5.0/5
(80)
Correct Answer:
Verified

True

Which one of the following expressions determines if the value of the balance variable is equal to zero?

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

B

A(n) ____________ decision structure provides only one alternative path of execution.

(Multiple Choice)
4.8/5
(72)

The name radio button refers to the old car radios that had push buttons for selecting stations where only one button could be pushed in at a time.

(True/False)
4.7/5
(71)

A(n) ____________ is a logical design that controls the order in which a set of statements execute.

(Multiple Choice)
4.7/5
(64)

____________ are useful when you want the user to select one choice from several possible choices.

(Multiple Choice)
4.8/5
(69)

Because the TryParse methods return either

(True/False)
4.8/5
(82)

____________ are decision structures that appear inside other decision structures.

(Multiple Choice)
4.9/5
(83)

You can use the ____________ operator to compare two strings.

(Multiple Choice)
4.9/5
(88)

The && and || logical operators have a higher precedence than the relational operators.

(True/False)
4.8/5
(95)

For an || expression to be true, the expression on the left side of the || operator must be false.

(True/False)
4.9/5
(79)

The saying "garbage in, garbage out" refers to the fact that computers cannot tell the difference between good input and bad input.

(True/False)
4.7/5
(73)

RadioButton controls have a ____________ property that determines whether the control is selected or deselected.

(Multiple Choice)
4.8/5
(77)

A(n) ____________ can execute a set of statements only under certain circumstances.

(Multiple Choice)
4.8/5
(65)

The sequence structure is often used in programming because it can handle every type of task.

(True/False)
4.9/5
(76)

Check boxes are similar to radio buttons, in that they are both mutually exclusive.

(True/False)
4.9/5
(66)

You should use try-catch statements primarily for exceptions that are beyond your control.

(True/False)
4.8/5
(92)

RadioButton controls are grouped according to the container in which they are placed.

(True/False)
4.8/5
(83)

The ____________ operator is the logical NOT operator, which is a unary operator that takes a Boolean expression as its operand and reverses its logical value.

(Multiple Choice)
4.8/5
(70)
Showing 1 - 20 of 78
close modal

Filters

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