Topic 1 - Intro / O.O.P Flashcards

1
Q

Define: information hiding

A

refers to making implementation details inaccessible. Examples: attributes (instance variables)

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

Object-oriented design

A

produces modular solutions for problems that primarily involve data

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

Define: encapsulation

A

Combining the data and the operations on the data is called encapsulation. They are combined in the class definition.

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

Define: Modularity

A

refers to subdividing a large problem into smaller components (modules) to make the design of a solution easier

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