CSC 351 - Programming Paradigms Flashcards

1
Q

Functional Languages

A

LISP, Haskell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Logic Languages

A

Prolog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Procedural Languages

A

C, C++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Object Oriented Languages

A

Java, Ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Functional Paradigm

A
  • originates from mathematical functions
  • values are non-mutable
  • natural abstraction is the function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Logic Paradigm

A
  • based on rules, facts and queries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Procedural Paradigm

A
  • “first do this, next do that”
  • order of commands are is important
  • governed by control structures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Object Oriented Paradigm

A
  • data and objects are encapsulated in objects
  • objects interact by message passing
  • usually objects are grouped in classes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly