logo

AQA A-Level Computer Science practice

Which statement best describes a variable?

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

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

Which statement best describes a variable?.

  1. A.A named value that cannot change during a program
  2. B.A named value that can change during a program
  3. C.A comment that explains a program
  4. D.A command that displays output

Answer and explanation

Concise answer

A named value that can change during a program

Why this is correct

A variable is a named storage location whose value may be changed while the program runs.

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