Planning before you code
Planning before you code
Thinking ahead means deciding the shape of a solution before writing detailed code. You identify what data must go in, what result must come out, what must already be true, and which parts should be reused.
Step-by-step lessons on OCR A Level Computer Science Thinking ahead. Each one builds up to exam-style questions.