Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Includes 'real teacher' use videos.

Programming Paradigms

Programming paradigms are a way to classify programming languages based on their features. Languages can be classified into multiple paradigms.

Suggested Video

Common programming paradigms include:

Imperative - in which the programmer instructs the machine how to change its state,
Procedural - which groups instructions into procedures,
Object-oriented - which groups instructions together with the part of the state they operate on,
Declarative - in which the programmer merely declares properties of the desired result, but not how to compute it
Functional -  in which the desired result is declared as the value of a series of function applications,
Logical -  in which the desired result is declared as the answer to a question about a system of facts and rules,
Mathematical - in which the desired result is declared as the solution of an optimization problem