logo

AQA A-Level Computer Science practice

A school wants to represent values arranged in rows and columns. Which array structure is most suitable?

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

A school wants to represent values arranged in rows and columns. Which array structure is most suitable?.

  1. A.A one-dimensional array
  2. B.A two-dimensional array
  3. C.A zero-dimensional array
  4. D.Several elements with unrelated data types

Answer and explanation

Concise answer

A two-dimensional array

Why this is correct

A two-dimensional array is a useful way of representing a matrix, with positions identified using two indices.

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