logo

AQA A-Level Computer Science practice

What is a tuple in the definition of an n-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

What is a tuple in the definition of an n-dimensional array?.

  1. A.An ordered list of elements
  2. B.A list in which the order is ignored
  3. C.A collection containing only text values
  4. D.A single integer used for every array position

Answer and explanation

Concise answer

An ordered list of elements

Why this is correct

The specification defines a tuple as an ordered list of elements. The tuple of n integers is used to index an element in an n-dimensional array.

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