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
Model answer
What a good answer should say
- A two-dimensional array
Explanation
Why this works
A two-dimensional array is a useful way of representing a matrix, with positions identified using two indices.
Common mistake
No common mistake is linked to this question yet.
