Discuss how you could represent a table of related records using a multidimensional array.

What will be an ideal response?

If a multidimensional array is viewed as a structure with rows and columns, one can easily see how it can be used to represent a table of related records. For example, a person has a name, street address, city, state and zip code. An array with 5 columns and as many rows as needed can be created to handle such a structure. To retrieve the information regarding a specific person, the array can be probed at a specific row iterating through the columns to retrieve the information.

Computer Science & Information Technology

You might also like to view...

Data cannot be stolen directly from a computer on the Internet

Indicate whether the statement is true or false

Computer Science & Information Technology

A general rule of thumb regarding file headers is that a humanly readable file has a humanly readable header

a. True b. False

Computer Science & Information Technology