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

1. The value of strVar.Length is the number of characters in the value of strVar.
2. The value of "abcd".IndexOf("b") is 2.
3. The following lines are valid. (T/F)
Dim h As String = "Hello"
txtBox.Text = CStr(h.IndexOf("h"))
4. All comment statements must be placed at the beginning of a program.
5. The statement lstBox.Items.Add("") clears all the text from the list


1. True
2. False
3. True
4. False
5. False

Computer Science & Information Technology

You might also like to view...

Selecting a portion of a sequence with the operator [:] is called ________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

On an activity diagram, what is used to show partitioning?

A) a synchronization bar B) a swim lane C) a diamond D) a filled-in circle

Computer Science & Information Technology

The ________ function calculates loan payments

Fill in the blank(s) with correct word

Computer Science & Information Technology

The items listed in the Call statement are referred to as

arguments parameters passers none of the above

Computer Science & Information Technology