Arrays are data structures used in programming. Explain what is meant by the terms dimension and index in an array. Use examples of arrays in your explanations. Dimension Index
- (a)Explain what is meant by the terms dimension and index in an array. Use examples of arrays in your explanations.[3]
Mark scheme
Marking points from the official mark scheme (May/June 2020). The mark or mark type is shown in brackets.
- [1] The dimension is the number of indexes required to access an element.
- [1] The index is the position of the element in an array
- [1] For example A[25] is the 25th element of a one-dimensional array.
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →