Object-Oriented Paradigm Flashcards

1
Q

Through encapsulation data can be protected within an object definition. When modeling an object this relationship is referred to as __________.

A

“Has-a” Relationship

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

The concept of inheritance in OOP, where one class is derived from another class. For instance, a Student class is derived from a Person class.

A

“Is-a” Relationship

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

A term associated with encapsulation, one of the three central principles (along with polymorphism and inheritance). Through this process, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.

A

Abstraction

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

A class in object-oriented programming that inherits the characteristics of a parent class.

A

Child Class

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

The definition of an object in OOP, describing the type of data owned by the object, as well as methods that act on that data.

A

Class

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

In OOP, this is the process of combining simpler data types into more complex data types. For example, in defining a Car class, it might be made up of a BodyType class, an Engine class, and a TranmissionType class, among many other possible items.

A

Composition

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

One of the three primary aspects of object oriented programming that incorporates related data items and methods into a class definition, including instance variables, constructors, accessor, and modifier methods.

A

Encapsulation

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

A form of declarative programming. An approach to problem solving. Language that fit this description include Scheme, Haskell, LISP, Racket, and F#.

A

Functional Programming

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

A paradigm in programming that is often referred to as procedural, where a developer writes code that describes in exacting detail the steps that the computer must take to accomplish the goal. Most of the mainstream programming languages, such as C++, Java, and Python, are considered these languages.

A

Imperative Programming

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

The process of encapsulation and abstraction in object-oriented programming that provides a programming interface to a process, but does not reveal the actual workings of the process.

A

Information Hiding

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

One of the three pillars of object-oriented programming that allows for classes to be defined based on previously defined and developed classes, taking all of the characteristics of the super class, and then expanding on those features.

A

Inheritance

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

A programming entity that encapsulates data and related methods.

A

Object

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

Is a programming language model organized around objects rather than “actions” and data rather than logic.

A

Object-Oriented Programming

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

The polymorphic feature of object-oriented programming where methods inherited from parent classes, such as the toString method from the Object class, are redefined and customized to better fit the purpose of the current class.

A

Overriding Methods

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

The polymorphic feature of object-oriented programming where constructors and methods are named the same but operate on different input parameters in order to perform the same task.

A

Overloading Methods

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

This aspect of polymorphism refers to how a parent object can reference any of its child objects, or any descendant several levels of inheritance down the way.

A

Polymorphic Objects

17
Q

See Imperative Programming

A

Procedural Programming