Exam 4: Making Decisions

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

An action that is ____________ occurs only when a certain condition is true.

(Multiple Choice)
4.8/5
(86)

A well-designed program should validate the contents of multiple TextBoxes in a single statement.

(True/False)
4.8/5
(88)

The ____________ operator is the logical OR operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the subexpressions is true.

(Multiple Choice)
4.8/5
(72)

C# provides a special version of the decision structure known as the ____________, which simplifies the logic for testing a series of conditions.

(Multiple Choice)
4.7/5
(87)

Once you create a ListBox control, you add items to its Collection property.

(True/False)
4.8/5
(90)

If no item is selected in a ListBox, what value is in the SelectedIndex property?

(Multiple Choice)
5.0/5
(74)

A switch statement's test expression can be any data type.

(True/False)
5.0/5
(78)

When the user selects an item in a ListBox, the item is stored in the ListBox's ____________ property.

(Multiple Choice)
4.8/5
(75)

The expression (A < 1) XX (A > 10) will determine if the value in A is outside a range, if "XX" is replaced by which logical operator?

(Multiple Choice)
4.7/5
(78)

In Visual C#, you use the ____________ to create a list box on an application's form.

(Multiple Choice)
4.9/5
(85)

In order for an && expression to be true, only the expression on one side of the && operator needs to be true.

(True/False)
4.9/5
(80)

The ____________ method can be used to determine whether one string is greater than or less than another string.

(Multiple Choice)
4.9/5
(71)

____________ works by automatically deselecting any other items in the same group when a single item is selected.

(Multiple Choice)
4.8/5
(72)

Variables of the double data type are commonly used as flags.

(True/False)
4.9/5
(78)

If the expression on the left side of the || operator is true, the expression on the right side is not checked.

(True/False)
4.7/5
(67)

A series of deeply nested if-else statements is usually easier to follow than the logic of an if-else-if statement.

(True/False)
4.7/5
(85)

Any if-else-if statement can alternatively be coded as a nested if-else statement.

(True/False)
4.8/5
(79)

RadioButton controls have a Text property, which hold the text that is displayed next to the radio button's circle.

(True/False)
4.9/5
(89)
Showing 61 - 78 of 78
close modal

Filters

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