Imperative vs declarative paradigms, logic programming (facts, rules and queries in Prolog style), and low-level programming with assembly instructions, opcodes/operands and machine code.
Paradigms overview
A paradigm is a programming style. Cambridge contrasts:
Imperative (procedural, OO) — you describe how to solve the problem with step-by-step instructions.
Declarative — you describe what the result should be (facts and relationships), and the language's engine works out how.
Low-level — programming close to the hardware in assembly/machine code.
Viewing only
This content is free to read on superexams.com and cannot be printed or downloaded.
Read the full note, free
Create a free account to read this note in full. Every free account gets 2 complete revision notes, no card needed.