Redirected
recategorized
1,246 views
0 votes
0 votes

Which of the following statement(s) is/are true with respect to software architecture?

$S1$ : Coupling is a measure of how well the things grouped together in a module belong together logically.

$S2$ : Cohesion is a measure of the degree of interaction between software modules.

$S3$ : If coupling is low and cohesion is high then it is easier to change one module without affecting others.

  1. Only $S1$ and $S2$
  2. Only $S3$
  3. All of $S1$, $S2$ and $S3$
  4. Only $S1$
recategorized

4 Answers

1 votes
1 votes
ans : 2

S1: false-> Coupling is a  measure of the degree of interaction between software modules.  
S2: false -> Cohesion is a measure of how well the things grouped together in a module belong together logically.  
S3: true-> If coupling is low and cohesion is high then it is easier to change one module without affecting others.
1 votes
1 votes
S1: Cohesion means organisation of different module and consistency.
S2 :Coupling is the degree of interdependence between software modules.

S3: if coupling is low and cohesion is high, it is easier to change one module without affecting others.

option (B) is correct.
0 votes
0 votes
The definition given in S1 is definition of Cohesion.

The definition given in S2 is definition of Coupling.

so, both S1 and S2 are incorrect

S3 is correct as LOW coupling and HIGH cohesion is always preferred during software design.

Only S3 is correct, hence answer is B
0 votes
0 votes

Answer: (B) 
Explanation:

So, option (B) is correct.

  1. Coupling is the degree of interdependence between software modules.
  2. Cohesion means organisation of different module and consistency.
  3. Then if coupling is low and cohesion is high, it is easier to change one module without affecting others.
Answer:

Related questions

0 votes
0 votes
3 answers
2
0 votes
0 votes
3 answers
4
go_editor asked Mar 24, 2020
1,028 views
A software design pattern used to enhance the functionality of an object at run-time is:AdapterDecoratorDelegationProxy