Object Oriented Programming Flashcards

1
Q

Object-oriented analysis (OOA) i

A

Object-oriented analysis (OOA) is the process of looking at a problem, system, or
task (that somebody wants to turn into an application) and identifying the objects
and interactions between those objects. The analysis stage is all about what needs
to be done.

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

Object-oriented design (OOD)

A

Object-oriented design (OOD) is the process of converting such requirements into
an implementation specification. The designer must name the objects, define the
behaviors, and formally specify which objects can activate specific behaviors on
other objects. The design stage is all about how things should be done.

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

Object-oriented programming (OOP)

A

Object-oriented programming (OOP) is the process of converting this perfectly
defined design into a working program that does exactly what the CEO
originally requested.

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

Object

A

Objects are instances of classes that can be associated with each other. An object instance is a
specific object with its own set of data and behaviors

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

Data

A

Data typically represents the individual characteristics of a
certain object.

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

Attributes

A

Attributes are frequently referred to as members or properties

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

Behaviors

A

Behaviors are actions that can occur on an object.

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

Interface

A

The interface is the collection of attributes and methods that other objects can use to interact with that object.

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

Encapsulation,

A

This process of hiding the implementation, or functional details, of an object is
suitably called information hiding. It is also sometimes referred to as encapsulation,
but encapsulation is actually a more all-encompassing term.

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

Abstraction

A

Abstraction is another object-oriented concept related to encapsulation and
information hiding. Simply put, abstraction means dealing with the level of detail
that is most appropriate to a given task.

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

Objects and Attributes

A

objects typically represent nouns in the original problem, while methods are normally verbs. Attributes can often be picked up as adjectives,

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

Composition

A

Composition is the act of collecting several objects together to create a new one.

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

Aggregation

A

Aggregation is almost exactly like composition. The difference is that aggregate objects can exist independently.

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

Inheritance

A
In object-oriented programming, instead of inheriting features and behaviors from a
person, one class can inherit attributes and methods from another class.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Polymorphism

A

Polymorphism is the ability to treat a class differently depending on which subclass is implemented.

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

Multiple Inheritance

A
Object-oriented design can also feature such multiple inheritance, which allows a
subclass to inherit functionality from multiple parent classes.