Programming Paradigms (OCR A-Level Computer Science): Flashcards
📚Flashcards
Practise the cards
15 cards from this deck
ShowHide
Practise the cards
15 cards from this deck
What are programming paradigms?
What are programming paradigms?
Different approaches or styles of programming
Procedural programming organisation
Procedural programming organisation
Code organised into procedures or functions
Procedural programming example languages
Procedural programming example languages
C, Python (with functions), BASIC
Encapsulation in OOP
Encapsulation in OOP
Data hiding within objects
Inheritance in OOP
Inheritance in OOP
Creating new classes from existing ones
Polymorphism in OOP
Polymorphism in OOP
Methods behaving differently in different contexts
Abstraction in OOP
Abstraction in OOP
Simplifying complex systems by modelling
OOP example languages
OOP example languages
Java, C++, Python (with classes), C#
Low-level programming key feature
Low-level programming key feature
Programming closer to machine code with direct hardware control
Low-level programming main strength
Low-level programming main strength
High performance and fine-grained control
Pure functions in functional programming
Pure functions in functional programming
Functions with no side effects
Immutability in functional programming
Immutability in functional programming
Unchanging data
Functional programming key strength
Functional programming key strength
Easier debugging and concurrency-friendly
Event-driven programming organisation
Event-driven programming organisation
Code organised around events like user actions
Event-driven programming ideal use
Event-driven programming ideal use
GUI applications, mobile apps, web applications
