Exam-style question
Try this first
Working with arrays in programming.
Description
Array Input and Output
Consider an array that holds the names of five students. You need to input the names and then retrieve them using iteration.
- a[1]
State How would you access the first name 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
You access the first name using index 0.
Why this is correct
In most programming languages, the first element of an array is at index 0.
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.
