Exam-style question
Try this first
Paper 2Algorithms, Programming and Logic1 marks
Working with arrays in programming.
Description
Array Manipulation
Consider the following 1D array: [5, 10, 15, 20, 25].
- a[1]
State the value of the third element in the array.
Aim for approximately 1 distinct marking point.
0 of 1 part answered
Answer every part before opening the mark scheme.
Concise answer preview
Concise answer
15
Why this is correct
In a 1D array, the third element is accessed using index 2, which is 15.
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.
