logo

AQA A-Level Computer Science practice

Which description best matches a one-dimensional array?

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

At a glance

MCQ

Type

practice

Style

Topic

Data structures and abstract data types

Exam-style question

Try this first

Which description best matches a one-dimensional array?.

  1. A.A set of elements arranged in a single sequence
  2. B.A set of elements arranged in rows and columns only
  3. C.A set of elements that must all have different data types
  4. D.A set of elements indexed by a tuple of three integers

Answer and explanation

Concise answer

A set of elements arranged in a single sequence

Why this is correct

A one-dimensional array has one index for each element and is useful for representing a vector.

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

No flashcards are published for this page yet.

Related practice questions