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
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.
