Exam 5: Decision Structures

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

When different operations must occur based upon the value in a single field, it is best to use a(n) ____________________ statement to test the value.

Free
(Essay)
4.8/5
(38)
Correct Answer:
Verified

Select Case

You can display a code snippet to ensure you understand the syntax and requirements for a given type of statement.

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

True

If a program attempts to process invalid data, unexpected errors can occur.

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

True

The ____ is a relational operator.

(Multiple Choice)
4.8/5
(41)

The ____________________ keyword terminates the If...Then block of code.

(Essay)
5.0/5
(29)

When a condition is tested in a Visual Basic program, this is a possible outcome: ____.

(Multiple Choice)
4.7/5
(45)

MATCHING Identify the letter of the choice that best matches the phrase or definition. -Function that returns a Boolean value

(Multiple Choice)
4.8/5
(46)

Since the first days of computers, the phrase "____________________" has described the fact that allowing incorrect input data into a program produces incorrect output.

(Essay)
4.9/5
(35)

____ objects are used to gather related RadioButtons together so that the user can select one radio button from each group.

(Multiple Choice)
4.9/5
(37)

To use multiple conditions in a single If...Then...Else statement, ____ conditions are required.

(Multiple Choice)
4.8/5
(37)

It is important to ____ the line in the code editing window in the exact location where you want to insert a code snippet to produce the shortcut menu with the Insert Snippet command.

(Multiple Choice)
4.9/5
(38)

A Panel object can have a caption, but a GroupBox object cannot.

(True/False)
4.8/5
(38)

Only one condition can be tested in an If statement.

(True/False)
4.9/5
(36)

Statements for a true condition and statements for a false condition can both be executed based on a single comparison.

(True/False)
4.9/5
(43)

  -Inserting code ____________________ as shown in the accompanying figure is an effective way to enhance productivity. -Inserting code ____________________ as shown in the accompanying figure is an effective way to enhance productivity.

(Essay)
4.8/5
(36)

When RadioButton objects are contained in a group box, the user can select only one of the radio buttons on the panel.

(True/False)
4.9/5
(40)

In an expression using the logical operator ____, as soon as one of the compound conditions is found to be false, no further conditions are tested and the expression evaluates to false.

(Multiple Choice)
4.9/5
(34)

In an If...Then statement, the If keyword should appear on the first line with the conditional expression, and the Then keyword should appear on the second line.

(True/False)
4.7/5
(28)

To specify a continuous range of values to be tested in a Case statement within a Select Case structure, the word ____ must be used.

(Multiple Choice)
4.8/5
(34)

A Case statement in a Select Case structure can test for a range of values.

(True/False)
4.9/5
(46)
Showing 1 - 20 of 112
close modal

Filters

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