In order to store a matrix, we need ___________ dimensional array.
2016
In order to store a matrix, we need ___________ dimensional array.
- A.
three
- B.
two
- C.
four
- D.
one
Attempted by 312 students.
Show answer & explanation
Correct answer: B
The correct option is B. A mathematical matrix consists of data elements organized in rows and columns. To represent and store this grid-like structural format in computer programming, a two-dimensional (2D) array is required, where the first index identifies the row and the second index specifies the column.