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

1. If an array, names, consists of a list of usernames, then names[1] holds the value of the first username in the list.
2. Each element in a two-dimensional array has two subscripts.
3. To calculate the total of the values in an array, a loop is used with an accumulator variable.
4. An array, like a variable, can hold only one value.


1. FALSE
2. TRUE
3. TRUE
4. FALSE

Computer Science & Information Technology

You might also like to view...

Which of the following tasks cannot be performed using an enhanced for loop?

a. Calculating the product of all the values in an array. b. Displaying all even element values in an array. c. Comparing the elements in an array to a specific value. d. Incrementing the value stored in each element of the array.

Computer Science & Information Technology

How can you be sure that data loaded with a URLRequest instance is available in Flash?

What will be an ideal response?

Computer Science & Information Technology

The switch statement is not an alternative to the if-else chain.

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

Computer Science & Information Technology

In the WROTE table of the Henry Books database, the SEQUENCE field indicates the order in which the authors of a particular book are listed on the cover.

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

Computer Science & Information Technology