Exam-style question
Try this first
What is the primary use of a one-dimensional array?.
- A.To store a single value
- B.To store multiple values in a list
- C.To create a matrix
- D.To store data in a table
Answer and explanation
Concise answer
To store multiple values in a list
Why this is correct
1D arrays are designed to hold a sequence of elements, making them ideal for lists.
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.
