Exam 6: More on the Selection Structure

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

When a multiple-alternative selection structure has many paths from which to choose, it is often simpler and clearer to use the If/ElseIf/Else form of the selection structure rather than the Select Case statement.

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

False

Both paths in a selection structure can include instructions that declare variables, perform calculations, and so on.

Free
(True/False)
5.0/5
(42)
Correct Answer:
Verified

True

When using the Select Case statement, the data type of the ____ must be compatible with the data type of the selectorExpression .

Free
(Multiple Choice)
4.8/5
(49)
Correct Answer:
Verified

D

The ____ in a flowchart represents the multiple-alternative selection structure's condition.

(Multiple Choice)
4.8/5
(24)

You display the message box that contains text, one or more buttons, and an icon using the ____ method.

(Multiple Choice)
4.9/5
(43)

Multiple-alternative selection structures are also called ____________________ structures.

(Short Answer)
5.0/5
(28)

A ____ decision is always made by a nested selection structure.

(Multiple Choice)
4.9/5
(28)

The ____ radio button is either the radio button that represents the user's most likely choice or the first radio button in a group of buttons.

(Multiple Choice)
4.8/5
(31)

Each of the individual Case clauses, except the Case Else clause, must contain a(n) ____, which can include one or more expressions.

(Multiple Choice)
4.9/5
(39)

What are the two keywords that you can use to specify a range of values in a Case clause's expressionList ? When is each keyword used?

(Essay)
4.9/5
(39)

When either a selection structure's true path or its false path contains another selection structure, the inner selection structure is referred to as a(n) ____________________ structure.

(Short Answer)
4.7/5
(42)

A control's KeyPress event occurs each time the user presses a key while the control ____.

(Multiple Choice)
4.8/5
(44)

____________________ buttons allow you to limit the user to only one choice from a group of two or more related but mutually exclusive choices.

(Short Answer)
4.8/5
(40)

A _____ decision is always made by an outer selection structure.

(Multiple Choice)
4.9/5
(42)

Between the Select Case and End Select clauses are the individual ____________________ clauses.

(Short Answer)
4.7/5
(42)

When displaying a message in the message box using the MessageBox.Show method, what three items appear in the message box?

(Essay)
4.8/5
(39)

What is the difference between a primary decision and a secondary decision?

(Essay)
4.8/5
(37)

How do you prevent the entry of inappropriate characters in a text box?

(Essay)
4.8/5
(40)

Each Case clause represents a different ____.

(Multiple Choice)
4.7/5
(33)

The recommended maximum number of radio buttons in a group is ____.

(Multiple Choice)
4.8/5
(30)
Showing 1 - 20 of 42
close modal

Filters

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