logo

Question detail

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

Try the question, check the answer, then read the explanation to understand the curriculum point.

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

Model answer

What a good answer should say

  • An ordered list of elements

Explanation

Why this works

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.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.