Chapter 01 Flashcards

0
Q

Abstraction

A

a simplification of a model.

focus on characteristic in context, defer unnecessary detail.

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

Encapsulation

A

hiding details of how, exposing details “on need to know”

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

Modulariization

A

continuous decomposition until fine-grained components are created.
Uses abstraction & encapsulation

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

procedural abstraction

A

simplifies behavioral operations (sequences of steps).

unlocking door

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

Data Abstraction

A

model that simplifies data’s structure. (Message class)

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

coupling

A

manner and degree of interdependence. (between modules)

More coupling is BAD.

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

content coupling

A

modules rely on internal details of other modules.

WORST form of coupling. “changes in A mess up B”

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

common coupling

A

dependencies on common access, such as global variables.

less bad, one change affects many.

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

data coupling

A

(set of parameters) only means for modules to communicate.

better form of coupling. but more coupling is always bad.

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

cohesion

A

manner and degree to which a module’s tasks are related.

Higher cohesion is good.

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

function cohesion

A

degree to which module’s tasks perform a single function.

Single logical meaning would indicate logical cohesion.

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

separation of interface and implementation

A

interface is like encapsulation(hiding) but…

allows varied implementation (without changes to old implements)

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

completeness

A

degree to which requirements are met

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

sufficiency

A

degree to which it does only it’s requirements

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

design

A

is about minimizing complexity

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

Object-Oriented Design Strategy

A

a system or component is expressed in terms of objects and connections between them.

does encapsulation, holds state, inheritance, polymorph.

16
Q

Structured Design Strategy

A

based on function decomposition into modules. (functional analysis)
Top-Down
-not good for object oriented (no data abstraction, no encapsulation)