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

1. If you need an array with more than one index, you can use a multidimensional array, which is actually an array of arrays. In the explanation, declare an array of doubles with 2 rows and 5 columns.

2. Indexed variables for an array are stored wherever the computer finds memory for the first indexed variable, then the next one is stored next to the first if there is space, and someplace else if not.

1. True
Explanation: Perhaps the easiest way to see this is to think of a two dimensional array as an array of lines on a page. The requested declarations is
double array[2][5];
The first index is the row, or line number, and the second index is the column position within that row.
2. False
Explanation: Indexed variables of an array are stored contiguously, or next to each other.

Computer Science & Information Technology

You might also like to view...

A definition that defines a concept or a formula in terms of the concept or formula is called

a. a recursive definition b. indecision c. iteration d. reduction

Computer Science & Information Technology

When you integrate your Flash movie into a Dreamweaver document it also allows you to integrate it into an existing _____________________.

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

Computer Science & Information Technology