Exam-style question
Try this first
Understanding array indexing.
Description
Array Indexing
Given an array 'fruits' with values ['apple', 'banana', 'cherry'], identify the value at index 1.
- a[2]
Explain what value is stored at index 1 of the array 'fruits'.
Aim for approximately 2 distinct marking points.
0 of 1 part answered
Answer every part before opening the mark scheme.
Concise answer preview
Concise answer
The value at index 1 is 'banana'.
Why this is correct
In the array 'fruits', the first element is 'apple' (index 0), and the second element is 'banana' (index 1).
Complete every part above to unlock the full mark scheme through the existing protected review flow.
Common mistake
No common mistake is linked to this question yet.
