Coupling Flashcards

1
Q

What is coupling?

A

Coupling is the inter-reliance amongst modules. The lower the coupling the better. The tighter the coupling the worst.

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

Information Exchange and Coupling

A

The idea is to pass information explicitly, based on need to know.

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

What is content coupling? (High)

A

Content coupling occurs when one of the module relies on other modules internal working.

It means a change in the second module will lead to changes in the dependent module

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

What is common coupling?

A

Common coupling occurs when the same global data are shared by the two modules.

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

What is external coupling?

A

External coupling occurs when an external imposed data format and communication protocol are shared by two modules.

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

What is control coupling?

A

Control coupling occurs when one component passes parameters to control the activity of another component.

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

What is stamp coupling?

A

Stamp coupling occurs with the sharing of datasets, that don’t need to be shared.

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

What is data coupling?

A

Data coupling occurs when two modules interact with each other by means of passing data (as parameters)

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

What is null coupling?

A

Null (NO) coupling is considered the best because no sharing of data across an interface. It is considered the loosest (best) form of coupling but not common

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