SuperExamsSuperExams
Search papers…
Menu
DashboardBrowse papersRevision notesBooksSavedRevision packsFlashcardsMy progressAchievementsAI TutorMy classMessages
Back to dashboard

Unlock worked solutions

Step-by-step answers by examiners. From €5/mo.

Try Premium free →
← Computer Science notes
Cambridge A-Level·Computer Science·Cambridge AS & A Level Computer Science

Declarative & Low-Level Programming

13 min read

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.

Sign up free →Log in

More Computer Science notes

Information Representation

Data Compression & Encryption

Communication & Networking

Hardware & the Processor