Programming Paradigms
Comparing procedural, object-oriented, declarative and functional approaches by the state, control and abstraction they use to structure solutions.
How to study A-level Computer Science
Define the problem and representation, trace the state change, justify the algorithm or architecture, then test the result against requirements, evidence and constraints.
Core concepts
Concept 1
A programming paradigm provides a characteristic way to organise computation, state and reusable abstractions.
Exam cue: Compare paradigms against the same problem and criteria rather than listing features in isolation.
Concept 2
Object-oriented designs combine state and behaviour through objects, classes, encapsulation, inheritance or composition.
Exam cue: Distinguish class relationships, object instances and message or method calls.
Concept 3
Declarative and functional styles emphasise what result is required, expressions and controlled mutation rather than explicit command sequences.
Exam cue: Use the precise board terminology and supported language features required for the cohort.
Risk pitfalls and guardrails
Assuming object-oriented code is automatically modular or reusable.
Guardrail: Do not substitute a memorised definition or generic advantage until you have identified the input, state, stakeholder and constraint in the task.
Confusing inheritance with composition.
Guardrail: Do not substitute a memorised definition or generic advantage until you have identified the input, state, stakeholder and constraint in the task.
Treating one board's required functional notation as universal across all specifications.
Guardrail: Do not substitute a memorised definition or generic advantage until you have identified the input, state, stakeholder and constraint in the task.
Memory anchors
Paradigm
A paradigm is a broad model for expressing and organising computation.
Encapsulation
Encapsulation groups state and behaviour while controlling access to representation.
Inheritance
Inheritance derives specialised behaviour from a more general abstraction.
Composition
Composition builds an object or solution from collaborating components.
Declarative Style
Declarative code emphasises the required result more than the sequence of state-changing commands.
Checkpoint rule
Do the check-up only after you can summarize each concept in one sentence and identify one dangerous pitfall from memory.
Knowledge Check (after reading)
Short check-up to confirm understanding of this module.
Check-up Questions
What characterises imperative programming?
What characterises object-oriented programming?
Answer all questions to submit.
Next step personalized recommendations
Continue learning
Move forward only after this module is stable.
What is Pass Harbor?
Completely free exam prep for 247 UK exams.
- Practice questions
- Flashcards
- Study guides
- Mock exams
- No registration
- No paywall
- Start instantly
“No more expensive exam prep. Quality study tools should be accessible to everyone.”
