Exam-style question
Try this first
Why might a programmer choose one data structure rather than another?.
- A.The choice can suit how the data will be organised and used
- B.Every data structure stores exactly the same information in exactly the same way
- C.The choice determines the colour of the computer case
- D.A data structure removes the need for any program instructions
Model answer
What a good answer should say
- The choice can suit how the data will be organised and used
Explanation
Why this works
Different practical situations require data to be organised and used in different ways, so the selected data structure should fit the intended use.
Common mistake
No common mistake is linked to this question yet.
