logo

Question detail

Which statement best describes a variable?

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

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

Model answer

What a good answer should say

  • A named value that can change during a program

Explanation

Why this works

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

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.