Programming Paradigms Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What generation are high-level languages?

A

Third

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

What generation are low-level languages?

A

Machine Code & Assembly Language

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

Define paradigm

A

A style or way of thinking about how to solve a problem

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

What are imperative languages designed to do?

A

Solve specific problem types

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

What are the 4 main principles of OOP?

A

Encapsulation, abstraction, inheritance, and polymorphism

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

What is encapsulation?

A

The state of an object is private and other objects can only interact with the object’s public methods

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

What is abstraction?

A

The complexities of how the object works are hidden

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

What is inheritance?

A

When subclasses inherit properties and methods from parent classes

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

What is polymorphism?

A

The ability of an object to take on many different forms

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

How do programmers use object orientated code?

A

They use classes to define objects in order to model the problem

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