What is wrong with the following Do loop?

```
Dim index As Integer = 1
Do While index <> 10
lstBox.Items.Add("Hello")
index += 2
```
(A) It should have been written as a Do Until loop.
(B) It is an infinite loop.
(C) The test variable should not be changed within the loop itself.
(D) Nothing

(B) It is an infinite loop.

Computer Science & Information Technology

You might also like to view...

What is meant by dynamic binding?

What will be an ideal response?

Computer Science & Information Technology

Bill leaves Chicago at 4:00 P.M. traveling east at 70 miles per hour on Interstate 90. At 6:00 P.M. Jim leaves Toledo, 200 miles east of Chicago, also traveling east on the same road at 50 miles per hour. At what time will Bill pass Jim?

Solve the following time-rate-distance problems using the IPO method. Ignore time zones.

Computer Science & Information Technology