logo

Cambridge IGCSE Computer Science practice

What is the primary use of a one-dimensional array?

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

What is the primary use of a one-dimensional array?.

  1. A.To store a single value
  2. B.To store multiple values in a list
  3. C.To create a matrix
  4. D.To store data in a table

Answer and explanation

Concise answer

To store multiple values in a list

Why this is correct

1D arrays are designed to hold a sequence of elements, making them ideal for lists.

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