10.9k views
3 votes
A two-dimensional list is suitable for storing tabular data. True False 2 A two-dimensional list is really a one-dimensional list of one-dimensional lists. True False 3 The smallest index of any dimension of a two-dimensional list is 1. True False 4 The maximum indexes of a two-dimensional list with 6 rows and 10 columns are 5 and 9, respectively. True False 5 How many elements can be stored in a two-dimensional list with 5 rows and 10 columns

User Goli
by
5.1k points

1 Answer

0 votes

Answer:

1.) True

2.) True

3.) False

4.) True

5.) 50

Step-by-step explanation:

A.) Two dimensional list reperesents arrays arranges in rows and column pattern ; forming a Table design. 1 dimension represents rows whe the other stands for the column.

B.) When a 1-dimensional list is embedded in another 1 - dimensional list, we have a 2 - D list.

C.) The smallest index of any dimension of a 2-D list is 0

.D.) Given a 2-D list with 6 rows and 10 columns

Maximum dimension:

(6 - 1) = 5 and (10 - 1) = 9

Dimension = (5, 9)

E.) maximum number of elements :

5 rows by 10 columns

5 * 10 = 50 elements.

User Matt Nelson
by
4.8k points