Paradigms Flashcards

(8 cards)

1
Q

You tell the computer HOW to do something using explicit step-by-step statements that update memory.

A

Imperative Programming

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

Break the program into subprograms, each performing a task.

A

Procedural Programming

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

Bundle data + behavior into active objects that interact.

A

Object-Oriented Programming

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

Describe WHAT you want, not HOW to compute it.

A

Declarative Programming

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

Computation is done by evaluating functions like in math.

A

Functional Programming (subtype of declarative)

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

Describe facts and rules, and let the system infer answers.

A

Logic Programming (subtype of declarative)

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

What sub paradigms fall under the declarative paradigm?

A

Functional

Logic

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

What sub paradigms fall under the Imperative Paradigm?

A

Procedural

Object-Oriented

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