- What a programming paradigm is
A paradigm is a style or approach to writing a program — a way of thinking about the problem.
A programming paradigm is a style or approach to programming — a particular way of structuring and writing a program to solve a problem. It is not a language: one language (such as Python) can support several paradigms.
The 9618 A-Level syllabus covers four paradigms:
| Paradigm | Core idea | What you describe |
|---|---|---|
| Low-level | assembly / machine code, close to the hardware | exact instructions + addressing modes |
| Imperative / procedural | a sequence of commands that change state | HOW — step by step |
| Object-oriented (OOP) | model the problem as interacting objects | the objects, their data and behaviour |
| Declarative | state facts and rules, query a goal | WHAT is true — the system infers |
A useful contrast runs through the whole topic: imperative and low-level code says HOW to do something (the exact steps), whereas declarative code says WHAT is true and lets the system work out the how.
- Paradigm = a style/approach to programming, not a language.
- 9618 covers low-level, imperative/procedural, OOP and declarative.
- Imperative/low-level describe HOW; declarative describes WHAT.