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...

Which of the following is equivalent to this code segment?

``` int total = 0; for (int i = 0; i <= 20; i += 2) { total += i; } ``` a. int total = 0; for (int i = 20; i < 0; i += 1) { total += i; } b. int total = 0; for (int i = 0; i <= 20; total += i, i += 2) {} c. int total = 0; for (int i = 0, i <= 20, total += i; i += 2) {} d. int total = 0; for (int i = 2; i < 20; total += i, i += 2) {}

Computer Science & Information Technology

Match each item with a statement below.

A. A cryptographic firmware boot-check processor installed on many new computer systems B. An embedded OS certified to run multiple levels of classification on the same CPU without leakage between levels C. An OS microkernel extension developed for Linux D. A specialized embedded OS used in devices such as programmable thermostats, appliance controls, and even spacecraft E. An open-source embedded OS used in space systems because it supports processors designed specifically to operate in space F. Any computer system that is not a general-purpose PC or server G. Software residing on a chip H. Devices on an organization's network performing more than one function, such as printers, scanners, and copiers I. Systems used for equipment monitoring in large industries, such as public works and utilities, power generators and dams J. A small program developed specifically for use with embedded systems

Computer Science & Information Technology

? Mozilla Firefox is a web browser currently maintained by Google.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

_________ are included in IEEE 754 to handle cases of exponent underflow.

A. Subnormal numbers B. Guard bits C. Normal numbers D. Radix points

Computer Science & Information Technology