logo

Cambridge IGCSE Computer Science practice

How do you access the second element of an array in a language that starts indexing at 0?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

Arrays

Exam-style question

Try this first

How do you access the second element of an array in a language that starts indexing at 0?.

  1. A.1
  2. B.2
  3. C.0
  4. D.-1

Answer and explanation

Concise answer

1

Why this is correct

In zero-indexed languages, the second element is accessed with index 1.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions