Exam 4: Making Decisions

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

The ____________ is a multiple-alternative decision structure, which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

(Multiple Choice)
4.9/5
(82)

The C# language provides the ____________ data type that you can use to create variables that hold

(Multiple Choice)
4.8/5
(71)

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

(Multiple Choice)
4.9/5
(68)

A(n) ____________ is a variable that is passed as an argument to a method, and when the method is finished, a value is stored in the variable.

(Multiple Choice)
4.9/5
(87)

A string can be converted to a decimal with the ____________ method.

(Multiple Choice)
4.9/5
(84)

When a RadioButton or a CheckBox control's Checked property changes, a ____________ happens for that control.

(Multiple Choice)
4.7/5
(87)

The ____________ method can be used to convert a string to an integer.

(Multiple Choice)
4.9/5
(83)

Both the && and || operators perform ____________, in which CPU time is saved by not checking the expression on the right side of the operator depending on the value of the expression on the left side of the operator.

(Multiple Choice)
4.8/5
(72)

For debugging purposes, it's important to use proper alignment and indentation in a nested if statement.

(True/False)
4.8/5
(66)

To create a CheckChanged event handle for a RadioButton or a CheckBox, double-click the control in the Designer.

(True/False)
4.8/5
(80)

The ____________ keyword is required when specifying a variable as an output argument.

(Multiple Choice)
4.9/5
(87)

A(n) ____________ statement has two parts: an if clause and an else clause.

(Multiple Choice)
4.8/5
(96)

If an expression A is true, prefixing it with the ! operator causes the combined expression to become false, as in !A.

(True/False)
4.9/5
(84)

The ____________ has two possible paths of execution - one path is taken if the Boolean expression is true, and the other path is taken if the Boolean expression is false.

(Multiple Choice)
4.9/5
(66)

A ____________ is an expression that can be evaluated as either

(Multiple Choice)
4.8/5
(70)

Boolean expressions are named in honor of the English rock star James Boole, who developed his mathematical theories while studying instrument acoustics.

(True/False)
4.9/5
(86)

Once you create a ListBox control, you add items you wish to display to its ____________.

(Multiple Choice)
4.9/5
(78)

To convert a string to a double, use the ____________ method.

(Multiple Choice)
4.8/5
(93)

A ____________ appears as a small box with some accompanying text.

(Multiple Choice)
4.7/5
(93)

A(n) ____________ is a set of statements that execute in the order that they appear.

(Multiple Choice)
4.9/5
(76)
Showing 21 - 40 of 78
close modal

Filters

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