Filters
Question type

Study Flashcards

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) conditionally executed
B) logically executed
C) interactively driven
D) truth bound

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) multiple selection
B) mutually inclusive selection
C) mutually exclusive selection
D) monographic selection

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

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.


A) !
B) &&
C) <>
D) ||

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) if-else-if statement
B) else-try statement
C) series statement
D) multi-condition logic structure

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

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?


A) &&
B) !
C) ||
D) >=

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

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


A) false
B) true
C) 0
D) −1

E) A) and D)
F) C) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) Checked
B) SelectedValue
C) DataSelection
D) SelectedItem

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

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


A) String.Equals
B) String.Compare
C) String.IsGreater
D) String.String

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) ListView control
B) MaskedTextBox control
C) CheckedListBox control
D) ListBox control

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Showing 61 - 78 of 78

Related Exams

Show Answer