Exam-style question
Try this first
Which statement best describes a variable?.
- A.A named value that cannot change during a program
- B.A named value that can change during a program
- C.A comment that explains a program
- 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.
