Answer the following statements true (T) or false (F)
1. The following pair of statement is valid.
Dim x = CInt(InputBox("Enter number of items (must be a positive integer)"))
ReDim myArray(x - 1)
2. A fractional number such as 4.6 is not allowed as a subscript.
3. Arrays are said to be ordered only if the values are in ascending order.
4. Ascending is the default direction for an Order By clause.
5. Searching successive elements of an ordered list beginning with the first element is known
as a binary search.
1. T
2. T
3. F
4. T
5. F
You might also like to view...
If the Solution Explorer is not shown, select __________.
a) View > Solution Explorer b) File > Solution Explorer c) Edit > Solution Explorer d) Tools > Solution Explorer
Which of the following is NOT a valid method to increase a variable named score by 1?
A. ++score B. score++ C. ++score = score + 1 D. score = score + 1