Exam 6: More on the Selection Structure

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

You add a radio button to a form using the ____ tool in the toolbox.

(Multiple Choice)
4.7/5
(44)

You use the ____ keyword when you know only one end of a range (either the upper or lower end).

(Multiple Choice)
4.8/5
(36)

If the Select Case statement includes a Case Else clause, the Case Else clause must be the ____ clause in the statement.

(Multiple Choice)
4.7/5
(36)
Match each item with a statement below.
Always made by an outer selection structure.
line continuation character
Occurs each time the user presses a key while the control has the focus.
selectorExpression
A simpler and clearer way to code a multiple-alternative selection structure.
KeyChar property
Correct Answer:
Verified
Premises:
Responses:
Always made by an outer selection structure.
line continuation character
Occurs each time the user presses a key while the control has the focus.
selectorExpression
A simpler and clearer way to code a multiple-alternative selection structure.
KeyChar property
A property of the KeyPress event procedure's e parameter; used to cancel the key pressed by the user.
KeyPress event
A selection structure that can choose from several alternatives.
Select Case
A property of the KeyPress event procedure's e parameter; determines the key pressed by a user.
Handled property
Can contain any combination of variables, constants, methods, operators, and properties.
multiple-alternative
The flowchart symbol for the multiple-alternative selection structure.
primary decision
Immediately preceded by a space and appears at the end of a physical line of code.
diamond
(Matching)
4.9/5
(37)

The expression 1 To 5 in the Case 1 To 5 clause specifies the range of numbers from ____.

(Multiple Choice)
4.7/5
(46)

When do you typically use multiple-alternative selection structures?

(Essay)
4.7/5
(27)

How does the diamond in the multiple-alternative selection structure differ from the diamonds in the single-alternative and dual-alternative selection structures?

(Essay)
5.0/5
(28)

In situations where the selection structure has many paths from which to choose, it is often simpler and clearer to code the selection structure using the ____ statement.

(Multiple Choice)
4.8/5
(36)

A primary decision is always made by an outer selection structure, while a secondary decision is always made by a nested selection structure.

(True/False)
4.7/5
(40)

Describe three characteristics of the radio button interface.

(Essay)
4.9/5
(44)

The Select Case statement ends with the ____ clause.

(Multiple Choice)
4.9/5
(32)

A(n) ____ selection structure can choose from several alternatives.

(Multiple Choice)
4.8/5
(42)

In code, how do you refer to the Backspace key on your keyboard?

(Essay)
4.9/5
(41)

To include two groups of radio buttons in an interface, at least one of the groups must be placed within a ____, such as a group box, panel, or table layout panel.

(Multiple Choice)
5.0/5
(36)

To prevent a text box from accepting an inappropriate character, you first use the ____ parameter's KeyChar property to determine the pressed key.

(Multiple Choice)
4.8/5
(41)

How do you include more than one expression in an expressionList ?

(Essay)
4.9/5
(39)

An application may need to communicate with the user during run time.

(True/False)
4.9/5
(40)

Describe an example of when you would want to use a radio button.

(Essay)
4.9/5
(36)

A nested selection structure can appear within or immediately before the True path or the False path of the outer selection structure.

(True/False)
4.9/5
(35)

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 ____.

(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 42
close modal

Filters

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