Skip to content

Cambridge AS & A Level Computer Science

20.1Programming paradigms

Programming paradigms in Cambridge AS & A Level Computer Science: what the syllabus expects you to know, the learning objectives and how to practise.
Subtopic81 practice questions4 lessons

Overview

Low-level programming (writing code with the addressing modes) is practised through the assembly concepts covered at 4.2; Paper 4 excludes low-level and declarative programming.

Learning objectives

What the syllabus expects you to be able to do.

  1. 20.1.1Explain what a programming paradigm is and the characteristics of low-level, imperative, object-oriented and declarative paradigms.
  2. 20.1.2Use OOP terminology (objects, classes, inheritance, polymorphism, containment, encapsulation, getters, setters) and design and write classes.
  3. 20.1.3Write facts and rules to solve a problem and satisfy a goal in declarative programming.

Lessons

  • Declarative programming: facts, rules and goals

    55 min

    Full access
  • Object-oriented programming: classes, objects, inheritance and polymorphism

    55 min

    Full access
  • Programming languages and paradigms

    45 min

    Full access
  • Writing object-oriented programs

    60 min

    Full access

Join to read every lesson, or see what Full access includes.

Sample question

A sample question on this topic. Answer it, check it, then read the worked answer.

Programming paradigms: sample question

1 mark

In a Prolog-style program, what does the symbol :- mean in a rule?

Choose one answer

Turn Programming paradigms into a strength.

Practise with instant marking, see your mastery grow and get a study plan built around your exam date.