Programming Paradigms (OCR A-Level Computer Science): Flashcards

📚Flashcards
Programming Paradigms
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

What are programming paradigms?

Different approaches or styles of programming

Procedural programming organisation

Code organised into procedures or functions

Procedural programming example languages

C, Python (with functions), BASIC

Encapsulation in OOP

Data hiding within objects

Inheritance in OOP

Creating new classes from existing ones

Polymorphism in OOP

Methods behaving differently in different contexts

Abstraction in OOP

Simplifying complex systems by modelling

OOP example languages

Java, C++, Python (with classes), C#

Low-level programming key feature

Programming closer to machine code with direct hardware control

Low-level programming main strength

High performance and fine-grained control

Pure functions in functional programming

Functions with no side effects

Immutability in functional programming

Unchanging data

Functional programming key strength

Easier debugging and concurrency-friendly

Event-driven programming organisation

Code organised around events like user actions

Event-driven programming ideal use

GUI applications, mobile apps, web applications

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.