0
0
Software Engineeringknowledge~10 mins

Coupling and cohesion in Software Engineering - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to define coupling.

Software Engineering
Coupling refers to the degree of [1] between software modules.
Drag options to blanks, or click blank then click option'
Ainteraction
Bindependence
Csimilarity
Dcomplexity
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing coupling with cohesion.
Thinking coupling means modules are independent.
2fill in blank
medium

Complete the sentence to define cohesion.

Software Engineering
Cohesion is the degree to which the elements inside a module [1] to perform a single task.
Drag options to blanks, or click blank then click option'
Aare complex
Bare independent
Cwork together
Dinteract externally
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up cohesion with coupling.
Thinking cohesion is about module independence.
3fill in blank
hard

Fix the error in the statement about coupling.

Software Engineering
Low coupling means modules are [1] connected and depend minimally on each other.
Drag options to blanks, or click blank then click option'
Astrongly
Bloosely
Ctightly
Ddirectly
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'strongly' or 'tightly' which imply high coupling.
Confusing low coupling with high cohesion.
4fill in blank
hard

Fill both blanks to complete the description of good software design.

Software Engineering
Good software design aims for [1] cohesion and [2] coupling.
Drag options to blanks, or click blank then click option'
Ahigh
Blow
Cstrong
Dweak
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up high and low for cohesion and coupling.
Thinking strong coupling is good.
5fill in blank
hard

Fill all three blanks to complete the example of coupling and cohesion.

Software Engineering
In a module, [1] cohesion means its parts [2] closely, and [3] coupling means it interacts minimally with others.
Drag options to blanks, or click blank then click option'
Ahigh
Bwork
Clow
Ddepend
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing coupling and cohesion terms.
Choosing 'depend' instead of 'work' for internal relations.