Programming Paradigm basics Flashcards

1
Q

What is a paradigm

A
  • It can be defined as a typical example of something.
  • A pattern or model.
  • A distinct set of concepts or thought patterns
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a programming paradigm?

A

A style of programming.
A set of principles, ideas, design concepts and norms that defines the manner in which program code is written.

A programming paradigm is enforced by the programming language compiler during the compiling stage.

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

What are the 2 most common programming paradigms

A

Imperative and Declarative

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

Imperative programming paradigm

A

It is a paradigm describing how the program should do something by explicitly specifying each instruction, which change the programs stage.

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

Declarative programming paradigm

A

It is a paradigm describing what the program does, without explicitly specifying its control flow

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

Imperative Subsets

A

Structural programming
Procedural programming
Object-oriented programming

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

Declarative subsets

A

Functional programming
Logic Programming

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

Other programming paradigms

A

Scripting
Event - driven
Database Querying

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