CSC 351 - Programming Paradigms Flashcards
1
Q
Functional Languages
A
LISP, Haskell
2
Q
Logic Languages
A
Prolog
3
Q
Procedural Languages
A
C, C++
4
Q
Object Oriented Languages
A
Java, Ruby
5
Q
Functional Paradigm
A
- originates from mathematical functions
- values are non-mutable
- natural abstraction is the function
6
Q
Logic Paradigm
A
- based on rules, facts and queries
7
Q
Procedural Paradigm
A
- “first do this, next do that”
- order of commands are is important
- governed by control structures
8
Q
Object Oriented Paradigm
A
- data and objects are encapsulated in objects
- objects interact by message passing
- usually objects are grouped in classes