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...

In the original Caesar Cipher, each letter in the message was shifted forward ____ positions.

A. two B. three C. four D. five

Computer Science & Information Technology

You’re making cookies (the real ones) and the directions say to stir until thoroughly mixed. Explain how a loop like this works.

What will be an ideal response?

Computer Science & Information Technology

Which company developed the Windows Phone 7 platform?

A. Apple B. Facebook C. Google D. Microsoft

Computer Science & Information Technology

The childclass operator is used to create a new class based on an existing (parent) class.

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

Computer Science & Information Technology