OCR H446 · Component 02 · Algorithms and programming
2.1.2 Thinking ahead
Plan inputs, outputs, preconditions, cached data and reusable components before implementation.
What to revise
Practise thinking ahead.
Start with these questions from the thinking ahead topic pack. In the workspace, explain each idea from memory, compare your reasoning with the feedback, then revisit the concepts that need practice.
Use the pack alongside your OCR H446 algorithms and programming revision. Your self-reported confidence helps plan the next review; it is not an exam mark or predicted grade.
- A routine flags a stock shortage. State suitable input data and output data, not hardware devices.Apply
- Identify an input and an output for a room-heating controller.Apply
- What is a precondition of an algorithm?Preconditions
- What precondition does binary search require of its input list?Apply
- Why document preconditions alongside inputs and outputs?Design
- What is caching in software?Caching
RecallStride is independently produced and is not endorsed by OCR. OCR is a registered trademark of OCR. Topic content is published by its owner and has not yet had an independent academic review.