When you are in a situation of having to create hundreds of variables to store hundreds of values, what is the solution for your development of an application to address this situation? Include a definition of all key relevant associated terms in your response.

What will be an ideal response?


The solution to developing applications with larger amounts of data is to use an array. An array variable is simply a variable that can store more than one value. In fact, in Visual Basic, an array can hold more than a million values. Each individual item in an array that contains a value is called an element. Arrays provide access to data by using a numeric index, or subscript, to identify each element in the array. Using an array, you can store a sequence of values of similar data type. For example, you can store six values of type Decimal without having to declare six different variables. Instead, each of the six values is stored in an individual element of the array, and you refer to each element according to its index within the array. The index used to reference a value in the first element within an array is zero. Each subsequent element is referenced by an increasing index value.

Computer Science & Information Technology

You might also like to view...

As you drag the Crop tool pointer on an image, a dotted line called a ____ is created.

A. crop chooser B. crop marquee C. selection area D. crop selection

Computer Science & Information Technology

The SharePoint library offers a copy of a SharePoint site for offline use

Indicate whether the statement is true or false

Computer Science & Information Technology

When the Format Painter is double-clicked, the formatting can be ________

A) applied to only the active cell B) applied to only one cell C) applied to only an adjacent range D) applied to multiple cells

Computer Science & Information Technology

Speech recognition systems enable the device being used to recognize voice input as spoken words. _________________________

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

Computer Science & Information Technology