Exam 6: Loop Structures

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

How many times will the following loop execute? For intCount = 10 To 16 Step 2 'Body of Loop Next

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

B

The Selected property of a ListBox object identifies which item in the ListBox has been selected.

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

False

During the debugging process, after stopping at a breakpoint, ____________________ can be used to examine the value of all variables that are within the scope of execution.

Free
(Short Answer)
4.8/5
(36)
Correct Answer:
Verified

DataTips

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

(Multiple Choice)
4.9/5
(42)

The compound operator ____ is used to add a string to an existing string.

(Multiple Choice)
4.8/5
(44)

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 -= 3, what value does she get?

(Multiple Choice)
4.7/5
(39)

  Figure 6-3 As shown in the accompanying figure, ____ are stopping points placed in the code to tell Visual Studio 2008 debugger where and when to pause the execution of the program. Figure 6-3 As shown in the accompanying figure, ____ are stopping points placed in the code to tell Visual Studio 2008 debugger where and when to pause the execution of the program.

(Multiple Choice)
4.8/5
(33)

A For...Next loop with a beginning value of 1, an ending value of 25, and a step value of 3 will execute ____ times.

(Multiple Choice)
4.8/5
(45)

The ____________________ procedure of the Windows Form object closes the form and causes the program to exit.

(Short Answer)
4.8/5
(27)

Writing an event handler for a menu item is the same as writing an event handler for a button click.

(True/False)
4.8/5
(40)

A hot key in a menu name must be the first letter.

(True/False)
4.8/5
(34)

A(n) ____ operator allows you to perform arithmetic operations with a variable and store the results back to that variable.

(Multiple Choice)
4.8/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A loop that is always executed at least once
Responses:
infinite
For...Next
looping
Correct Answer:
Verified
Premises:
Responses:
A loop that is always executed at least once
infinite
(Matching)
4.9/5
(37)

Which line of code will add the value "East" to a ListBox object named lstDirections?

(Multiple Choice)
4.8/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A loop that never ends
Responses:
Do Until
Items
infinite
Correct Answer:
Verified
Premises:
Responses:
A loop that never ends
Do Until
(Matching)
4.9/5
(35)

The ____ function provides a dialog box that asks the user for input and provides an input area.

(Multiple Choice)
4.8/5
(36)

Loops cannot be nested.

(True/False)
4.8/5
(36)

Discuss what a breakpoint is and how to use it.

(Essay)
4.8/5
(39)

The non-graphical Toolbox objects, such as MenuStrip objects, are organized and displayed below the form in the ____________________ at the bottom of the Visual Studio IDE.

(Short Answer)
4.7/5
(27)

A(n) ____ is a single repetition of a loop.

(Multiple Choice)
4.9/5
(36)
Showing 1 - 20 of 107
close modal

Filters

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