Multiple Choice
What is the difference in execution between the two following sections of code?
'Example 1
IntCounter = 0
Do While intCounter < 10
LstOutput.Items.Add(intCounter * intCounter)
IntCounter = intCounter + 1
Loop
'Example 2
For intCounter = 0 to 9
LstOutput.Items.Add(intCounter * intCounter)
Next intCounter
A) The loop in the first example will execute one more time than the second example.
B) The first example is an infinite loop.
C) Both loops are executed in an identical manner.
D) The loop in the first example will never be executed.
Correct Answer:

Verified
Correct Answer:
Verified
Q26: How many times will the message I
Q27: What will be the final value of
Q28: How can you cause scroll bars to
Q29: Which of the following code fragments calculates
Q30: Which property determines the amount of time,
Q31: Which statement about the <b>ListBox.Items.Add</b> method is
Q32: Which of the following ListBox properties can
Q33: A counter is a(n) _that can be
Q35: In the following statement that begins a
Q36: What value is assigned to lblSum.Text by