Exam 6: Loop Structures

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

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

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

(Multiple Choice)
4.9/5
(44)

In a Do While loop, the body of the loop is executed until the condition becomes true.

(True/False)
4.7/5
(43)

A(n) ____________________ loop should be used when the iterations should continue until a condition becomes true or false.

(Short Answer)
4.8/5
(34)

The ____________________ property of a ListBox identifies which item was selected.

(Short Answer)
4.9/5
(46)

A(n) ____________________ is a group of commands, or items, presented in a list.

(Short Answer)
4.9/5
(43)

Before deployment, an application should be ____.

(Multiple Choice)
4.9/5
(38)

A(n) ____________________ loop should be used when the iterations should continue until a condition becomes true.

(Short Answer)
4.7/5
(36)

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

(True/False)
4.8/5
(37)

Double-clicking a menu item in design mode opens the code editing window to the Click event handler for that menu item.

(True/False)
4.8/5
(42)

When expecting a number from an input box, the IsNumeric function should be used to ensure that the input data can be converted to a numeric variable.

(True/False)
4.8/5
(32)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Identified in the code editor with a bullet to the left of the line number and highlighting of the code on that line
Responses:
bottom-controlled
ListBox
InputBox
Correct Answer:
Verified
Premises:
Responses:
Identified in the code editor with a bullet to the left of the line number and highlighting of the code on that line
bottom-controlled
(Matching)
5.0/5
(35)

The ____ follows the keyword For in a For...Next loop.

(Multiple Choice)
4.8/5
(35)

The compound operator ____ adds the value of the right operand to the value of the left operand and stores the result in the left operand's variable.

(Multiple Choice)
4.8/5
(35)

  Figure 6-1 As shown in the accompanying figure, Visual Basic 2008 contains a(n) ____ Tag that allows you to create a full standard menu bar commonly provided in Windows programs. Figure 6-1 As shown in the accompanying figure, Visual Basic 2008 contains a(n) ____ Tag that allows you to create a full standard menu bar commonly provided in Windows programs.

(Multiple Choice)
4.9/5
(45)

Critical Thinking Questions Case 2 Robin thinks that she has a good handle on the use of compound operators but she wants to do a couple of sample problems just to make certain. In both of the problems below, Robin assumes that intResult = 24. When Robin correctly calculates intResult ^= 2, what value does she get?

(Multiple Choice)
4.7/5
(31)

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

(True/False)
4.8/5
(33)

Assigning a default value of something other than a null string in an input box is recommended to allow the program to differentiate between the user clicking Cancel and the user failing to enter data.

(True/False)
4.8/5
(38)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A variable that contains an accumulated value such as a running total
Responses:
looping
breakpoint
accumulator
Correct Answer:
Verified
Premises:
Responses:
A variable that contains an accumulated value such as a running total
looping
(Matching)
4.9/5
(45)

Menu item hot keys are case sensitive.

(True/False)
4.8/5
(39)
Showing 81 - 100 of 107
close modal

Filters

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