Exam 4: The Selection Structure

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

The data validation process means that the data that has been validated and is within an acceptable range.

Free
(True/False)
4.7/5
(30)
Correct Answer:
Verified

True

In Visual Basic .NET, an error that occurs while a program is running is called a(n) ____.

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

B

You can use the Catch statement to catch (or trap) an exception when it occurs in a program.

Free
(True/False)
4.9/5
(32)
Correct Answer:
Verified

False

Consider the expression 3 * 2 ^ 2 15 - 3. Which operation is performed second?

(Multiple Choice)
4.9/5
(35)

The conditional expression 9 * 2 / 6 > 12 / 3 / 2 evaluates to true.

(True/False)
4.8/5
(45)

The following expression 6 * 5 / 10 > 4 * 8 - 35 XOR 3 * 9 - 30 > 2 * 5 - 15 is true.

(True/False)
4.9/5
(43)

The conditional expression 28 / 4 + 2 < ( 13 - 7) / 6 evaluates to false.

(True/False)
4.9/5
(41)

A programmer must write the selection structure in such a way as to have either a true or false answer.

(True/False)
4.8/5
(45)

The Not operator would make a True statement False, but would not make a False statement evaluate True.

(True/False)
4.9/5
(42)

When coding a selection instruction in Visual Basic .NET the code that follows the Then statement are those instructions that will be executed when the condition is false.

(True/False)
4.8/5
(39)

Comparison operators are always evaluated after arithmetic operators in a conditional expression.

(True/False)
4.9/5
(30)

The parallelogram is used in a flowchart for decision activities.

(True/False)
4.8/5
(30)

The oval symbol is used in a flowchart to represent the start and stop point.

(True/False)
4.8/5
(39)

To prevent a text box from accepting inappropriate characters, you first use the e parameter's ____ property to determine the key that the user pressed.

(Multiple Choice)
4.9/5
(41)

Which of the following events occurs when the control has focus and the user presses a key?

(Multiple Choice)
5.0/5
(41)

When using the Visual Basic .NET Financial.Pmt function, Financial.Pmt(Rate, NPer, PV[,FV, Due]), which of the following is correct for a 7%, $10,000, 5 year loan with monthly payments?

(Multiple Choice)
4.8/5
(40)

To make a decision in the logic of a program you would use which of the following programming structures?

(Multiple Choice)
4.8/5
(36)

The value of the following expression 9 * 2 - 8 > 5 + 2 / 2 is true.

(True/False)
4.8/5
(34)

The ____ property controls the placement of the text in a label control.

(Multiple Choice)
4.8/5
(40)

An If selection structure contains two sets of instructions to be executed, one for the true condition and one for the false condition.

(True/False)
4.8/5
(33)
Showing 1 - 20 of 50
close modal

Filters

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