Describe an array and provide an example of a real-life equivalent to an array.

What will be an ideal response?


An array is a series or list of variables in computer memory, all of which have the same name and data type but are differentiated with special numbers called subscripts. Usually, all the values in an array have something in common; for example, they might represent a list of employee ID numbers or prices for items sold in a store.?Whenever you require multiple storage locations for objects, you can use a real-life counterpart of a programming array. If you store important papers in a series of file folders and label each folder with a consecutive letter of the alphabet, then you are using the equivalent of an array. If you keep receipts in a stack of shoe boxes and label each box with a month, you are also using the equivalent of an array. Similarly, when you plan courses for the next semester at your school by looking down a list of course offerings, you are using an array.

Computer Science & Information Technology

You might also like to view...

An entire document can be formatted using columns, or with the use of ________ breaks, column formatting can be limited to specific sections

Fill in the blank(s) with correct word

Computer Science & Information Technology

Saving a(n)____________________ as an HTML page allows it to be reopened in Expression Web so that you can access the information as you work on the site.

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

Computer Science & Information Technology

You do not have to select a property in order to change it.

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

Computer Science & Information Technology

A file is a collection of program instructions or data that is stored and treated as a single unit.

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

Computer Science & Information Technology