Exam-style question
Try this first
Explain two reasons why understanding variables and data structures is important when writing algorithms. [4 marks].
Answer and explanation
Concise answer
Reason 1: Variables allow algorithms to handle dynamic data by providing named storage locations whose values can change during execution.
Why this is correct
2 marks for explaining that variables handle dynamic/changing data / allow flexibility/reusability. 2 marks for explaining that data structures organise data efficiently / allow efficient retrieval/manipulation / improve performance/maintainability.
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.
