Paradigms Flashcards
What actually is a paradigm?
To describe an example of a way of doing things
Give examples of programming paradigms
Python, C#, Visual Basic
What is turing complete?
A computer language that can solve all the problems that a computer is able to solve
What is an imperative language?
Uses statements that change a program’s state in the form of a sequence, selection, iteration, etc. They consist of commands for a computer to perform and focus on describing how a program operates
What is a declarative language?
They focus on what the program should accomplish.
In imperative languages, there are two types of programming you need to know. What are they? Then explain what or how they work.
- Procedural programming. This is where a program is built from one ore more subroutines (procedures or functions)
- Object-oriented programming. This focuses more on a modular approach to programming.
Name some examples of low-level languages
- Machine code
2. Assembly
Name some examples of high-level languages
- Basic
2. C
Name some procedural paradigms
- Fortran
2. Cobol
Name some object-oriented paradigms
- C++
- java
- C#