Exam 6: Loop Structures

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

Use a For...Next loop when the number of repetitions is unknown.

(True/False)
4.7/5
(38)

Smart actions can be specified for a menu by using Action Tags.

(True/False)
4.7/5
(33)

When nesting loops, the inner loop must be completely contained in the outer loop and must use a different control variable.

(True/False)
4.9/5
(38)

A ____ loop is best used when the specific number of iterations required is known.

(Multiple Choice)
4.7/5
(37)

When used in a menu name, the asterisk character is used to indicate that a character is a hot key. _________________________

(True/False)
4.9/5
(34)

A Step value in a For...Next loop can be positive or negative.

(True/False)
4.9/5
(40)
Identify the letter of the choice that best matches the phrase or definition
Premises:
Objects that can be assigned a default value representing the most likely user input
Responses:
ListBox
accumulator
bottom-controlled
Correct Answer:
Verified
Premises:
Responses:
Objects that can be assigned a default value representing the most likely user input
ListBox
(Matching)
4.8/5
(42)

Starting a loop with a preset value for the variable tested in the condition is called priming the loop.

(True/False)
4.9/5
(37)

A ____-controlled loop tests the condition after the code in the loop body has been executed.

(Multiple Choice)
4.9/5
(46)

MenuStrip objects can be placed along any edge of the form, depending on which side is closer to the mouse pointer.

(True/False)
4.8/5
(42)

The ____ property of a ListBox object identifies which item in the ListBox was selected.

(Multiple Choice)
4.9/5
(43)

A ListBox object displays a group of values, called ____________________.

(Short Answer)
4.7/5
(25)

Case 6-1 Chris is trying to decide which kind of loop is the best loop for him to use to solve a couple of different programming challenges that he faces. Chris wants to guarantee that the instructions within the loop are executed one time regardless of the status of a condition. Which of the following should he use?

(Multiple Choice)
4.8/5
(34)

A loop's ____ variable is a numeric variable that keeps track of the number of iterations the loop completes.

(Multiple Choice)
4.9/5
(40)

When the user clicks the Cancel button in an input box and the InputBox function returns a null character, the program can test for the null character to determine further processing.

(True/False)
4.8/5
(39)

Before deployment, an application should be ____.

(Multiple Choice)
4.9/5
(37)

If ____ appears as the last line of a loop, the loop is a bottom-controlled Do loop that will execute as long as a condition remains true.

(Multiple Choice)
4.8/5
(32)

The ____ function can be used to test if data entered by the user is numeric.

(Multiple Choice)
4.9/5
(36)

A top-controlled loop is always executed at least once.

(True/False)
4.7/5
(43)
Identify the letter of the choice that best matches the phrase or definition
Premises:
Items added to this kind of object during design phase are available for selection by the user during program execution
Responses:
ListBox
infinite
breakpoint
Correct Answer:
Verified
Premises:
Responses:
Items added to this kind of object during design phase are available for selection by the user during program execution
ListBox
(Matching)
4.7/5
(42)
Showing 21 - 40 of 112
close modal

Filters

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