logo

AQA A-Level Computer Science practice

Which scenario most clearly requires a data structure to represent several related values?

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 scenario most clearly requires a data structure to represent several related values?.

  1. A.Recording the temperatures for seven days
  2. B.Testing whether one switch is on
  3. C.Displaying one fixed heading
  4. D.Storing one person's age

Answer and explanation

Concise answer

Recording the temperatures for seven days

Why this is correct

The temperatures for seven days form a collection of related values, so organising them in a data structure would be useful. The other scenarios each describe a single value.

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