Topic 1 Programming Paradigms Flashcards
Define programming paradigm. Explain the different types of programming paradigms. Discuss programming paradigms languages.
Define
What is a program?
In computing, a program is a specific set of ordered operations for a computer to perform.
Define
What is a programming paradigm?
- 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.
State the different types of paradigms
State the different types of paradigms
IFLOEP
- Imperative paradigm
- Functional Paradigm
- Logical Paradigm
- Object-Oriented Paradigm
- Event-Driven Paradigm
- Parallel Paradigm
IFLOEP
Briefly describe
Imperative Paradigm
Sequence of commands or statements are executed one after the other.
Briefly describe
Functional Paradigm
Small combination of pre-built or user defined functions in combination allow for execution of a program.
Briefly describe
Logical Paradigm
Provide logical statements as database and queries are executed to result in feedback.
Briefly describe
Object-Oriented Paradigm
Collection of classes and objects interact with each other for a program to execute.
Briefly describe
Event-Driven Paradigm
Collection of events are executed in a program.
Briefly describe
Parallel Paradigm
- Program codes using parallel computing capabilities of computers.
- Codes are executed simultaneously.