Exam-style question
Try this first
A school wants to represent values arranged in rows and columns. Which array structure is most suitable?.
- A.A one-dimensional array
- B.A two-dimensional array
- C.A zero-dimensional array
- D.Several elements with unrelated data types
Answer and explanation
Concise answer
A two-dimensional array
Why this is correct
A two-dimensional array is a useful way of representing a matrix, with positions identified using two indices.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
