Exam 5: More on the Selection Structure

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

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
(46)

Match each item with a statement below. a.Handled property f.diamond b.multiple-alternative g.KeyChar property c.Select Case h.line continuation character d.primary decision i.KeyPress event e.selectorExpression -A selection structure that can choose from several alternatives.

(Short Answer)
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.9/5
(42)

Match each item with a statement below. a.Handled property f.diamond b.multiple-alternative g.KeyChar property c.Select Case h.line continuation character d.primary decision i.KeyPress event e.selectorExpression -Immediately preceded by a space and appears at the end of a physical line of code.

(Short Answer)
4.7/5
(42)

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

(Essay)
4.7/5
(46)

____________________ 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.9/5
(34)

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

(True/False)
4.9/5
(40)

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.

(True/False)
4.8/5
(35)

Match each item with a statement below. a.Handled property f.diamond b.multiple-alternative g.KeyChar property c.Select Case h.line continuation character d.primary decision i.KeyPress event e.selectorExpression -A property of the KeyPress event procedure's e parameter; determines the key pressed by a user.

(Short Answer)
4.9/5
(36)

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
(29)

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

(Multiple Choice)
5.0/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
(27)

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

(True/False)
4.9/5
(31)

The Select Case statement ends with the ____ clause.

(Multiple Choice)
4.8/5
(36)

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

(Essay)
4.8/5
(39)

When do you typically use multiple-alternative selection structures?

(Essay)
4.9/5
(39)

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

(Essay)
4.9/5
(37)

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

(Multiple Choice)
4.8/5
(40)

Multiple-alternative selection structures are also called ____________________ structures.

(Short Answer)
4.8/5
(33)

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

(Multiple Choice)
5.0/5
(33)
Showing 21 - 40 of 50
close modal

Filters

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