Exam-style question
Try this first
What is the main purpose of using variables in programming?.
- A.To store fixed values
- B.To store data that can change
- C.To create errors
- D.To define functions
Answer and explanation
Concise answer
To store data that can change
Why this is correct
Variables are essential for holding data that may vary during program execution.
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.
