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

1. Arrays can hold only data of primitive types.
2. In an array of Boolean variables, if the initializer list is empty, the elements in the array are initialized to the default value True.
3. The declaration and allocation of an array can be combined into one statement.
4. Visual Basic can determine the array bounds from the number of elements in the initializer list.
5. Array method GetUpperBound returns the index of the last element in an array. The value returned by method GetUpperBound is one less than the value of the array’s Length property.

1. False. Arrays can hold data of any type.
2. False. In an array of Boolean variables, if the initializer list is empty, the elements in the array are
initialized to the default value False.
3. True.
4. True.
5. True

Computer Science & Information Technology

You might also like to view...

If directed by your instructor, how effective was the algorithm on the new data?

What will be an ideal response?

Computer Science & Information Technology

?Suppose your computer network was compromised in a large scale virus attack last Thursday. Most of the data files got corrupted beyond repair. The last data backup was done the Sunday before the virus attack. This means your company has an adequate backup process in place.

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

Computer Science & Information Technology