Paradigms Flashcards

1
Q

What actually is a paradigm?

A

To describe an example of a way of doing things

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

Give examples of programming paradigms

A

Python, C#, Visual Basic

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

What is turing complete?

A

A computer language that can solve all the problems that a computer is able to solve

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

What is an imperative language?

A

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

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

What is a declarative language?

A

They focus on what the program should accomplish.

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

In imperative languages, there are two types of programming you need to know. What are they? Then explain what or how they work.

A
  1. Procedural programming. This is where a program is built from one ore more subroutines (procedures or functions)
  2. Object-oriented programming. This focuses more on a modular approach to programming.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name some examples of low-level languages

A
  1. Machine code

2. Assembly

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

Name some examples of high-level languages

A
  1. Basic

2. C

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

Name some procedural paradigms

A
  1. Fortran

2. Cobol

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

Name some object-oriented paradigms

A
  1. C++
  2. java
  3. C#
How well did you know this?
1
Not at all
2
3
4
5
Perfectly