Topic 1 Programming Paradigms Flashcards

Define programming paradigm. Explain the different types of programming paradigms. Discuss programming paradigms languages.

1
Q

Define

What is a program?

A

In computing, a program is a specific set of ordered operations for a computer to perform.

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

Define

What is a programming paradigm?

A
  • Programming paradigms are different ways or styles in which a given program or programming language can be organized.
  • Programming paradigm is the approach or way of instructing a various computers in various ways.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

State the different types of paradigms

State the different types of paradigms

IFLOEP

A
  • Imperative paradigm
  • Functional Paradigm
  • Logical Paradigm
  • Object-Oriented Paradigm
  • Event-Driven Paradigm
  • Parallel Paradigm

IFLOEP

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

Briefly describe

Imperative Paradigm

A

Sequence of commands or statements are executed one after the other.

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

Briefly describe

Functional Paradigm

A

Small combination of pre-built or user defined functions in combination allow for execution of a program.

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

Briefly describe

Logical Paradigm

A

Provide logical statements as database and queries are executed to result in feedback.

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

Briefly describe

Object-Oriented Paradigm

A

Collection of classes and objects interact with each other for a program to execute.

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

Briefly describe

Event-Driven Paradigm

A

Collection of events are executed in a program.

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

Briefly describe

Parallel Paradigm

A
  • Program codes using parallel computing capabilities of computers.
  • Codes are executed simultaneously.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly