Answer the following statements true (T) or false (F)
1. A Do While loop checks the While condition before executing the statements in the loop.
2. If the While condition in a Do While loop is false the first time it is encountered, the
statements in the loop are still executed once.
3. The following statement is valid.
Do While x <> 0
4. The following two sets of code produce the same output.
```
Dim num As Integer = 1 Dim num As Integer = 1
Do While num <= 5 Do
lstBox.Items.Add("Hello") lstBox.Items.Add("Hello")
num += 1 num += 1
Loop Loop Until (num > 5)
```
5. A loop written using the structure Do While...Loop can usually be rewritten using the
structure Do...Loop Until.
1. T
2. F
3. T
4. T
5. T
You might also like to view...
We wish to write a destructor for a class called Bar. The function prototype for the destructor would look like this:
A. ~Bar; B. destructor( ); C. ~destructor( ); D. ~Bar( );
Commercial activities between businesses would be referred to as ________
A) business to business (B2B) B) consumer to consumer (C2C) C) business to consumer (B2C) D) artificial intelligence (AI)
An organization uses many 802.11 PTZ (pan/tilt/zoom) cameras to monitor secure areas throughout three locations. These cameras are on the one and only SSID in each location. Each SSID uses WPA2 PSK encryption. Due to location, these cameras must use 802.11 for communication. All cameras must be accessible not only in each location but also in headquarters. As a consultant provide a list of actions the organization should take to harden these cameras.
What will be an ideal response?
____________________ software allows the user to watch and control his or her home TV system from anywhere with an Internet connection.
Fill in the blank(s) with the appropriate word(s).