Exam 5: Decision Structures

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

In adding a code snippet, if you right-click outside the desired location for your code, the shortcut menu might list choices that are customized to that area of code and not include the code snippet for which you were searching.

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

True

To create a compound condition in an If statement, a(n) ____ operator is required.

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

B

When relational operators are used in a Case statement within a Select Case structure, the keyword ____ must be used with the relational operator.

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

A

A ____ structure is used to deal with different conditions that occur based on values entered into an application.

(Multiple Choice)
4.7/5
(43)

Discuss how to select which decision structure to use.

(Essay)
5.0/5
(37)

You can create your own code snippets but they cannot be added to the library.

(True/False)
4.9/5
(37)

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

(True/False)
4.9/5
(28)

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.8/5
(35)

Message boxes are also known as ____________________ boxes.

(Short Answer)
4.8/5
(40)

Visual Basic provides six different logical operators. Briefly describe the function of each.

(Essay)
4.7/5
(42)

If data analyzed by the IsNumeric function cannot be converted to a numeric data type, the function will return a value of ____.

(Multiple Choice)
4.9/5
(46)

Use the ____ statement to execute one set of instructions if the condition is true, and another set of instructions if the condition is false.

(Multiple Choice)
4.9/5
(32)

When using an If...Then...ElseIf statement, a trailing ____________________ statement can be placed at the end to handle a condition that does not meet any of the conditions tested.

(Short Answer)
4.8/5
(36)

In a Select Case structure, each ____________________ statement specifies a value for which the test expression is checked.

(Short Answer)
4.9/5
(33)

An expression using the logical operator ____ will evaluate to true only when both of the conditions are true.

(Multiple Choice)
4.8/5
(50)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
An easier and clearer alternative to using a series of If…Then…ElseIf statements
Responses:
IsNumeric
RadioButton
If...Then...ElseIf
Correct Answer:
Verified
Premises:
Responses:
An easier and clearer alternative to using a series of If…Then…ElseIf statements
IsNumeric
(Matching)
4.9/5
(42)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Message boxes can display these to represent the type of message being displayed
Responses:
conditional
icons
relational
Correct Answer:
Verified
Premises:
Responses:
Message boxes can display these to represent the type of message being displayed
conditional
(Matching)
4.8/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.9/5
(39)

Of all the following objects provided by Visual Basic for Windows applications, the ____ object is used most often.

(Multiple Choice)
4.8/5
(29)

To end a Select Case structure, a(n) ____ statement is used.

(Multiple Choice)
4.9/5
(40)
Showing 1 - 20 of 111
close modal

Filters

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