Software Engineering: Design questions and
answers 2025/2026 latest update
1.What is design? - answer
2.Why is design difficult? - answerBecause design is an abstraction of the solution which has yet to be
created
Can a try/catch statement contain a try/catch statement? - answer
3.What is the Law of Demeter? - answer
4.Name four design principles: - answer1. Cohesion
2. Coupling
3. Abstraction
4. Encapsulation
5.What is the difference between encapsulation and abstraction? - answer
6.Abstraction is a term used to describe the act of: - answerDiscarding irrelevant details within a given
context
7.What is the difference between routine design and original design? Give examples of each. - answer
What is cohesion? - answerCohesion is a measure of how strongly related the functions or
responsibilities of a module are.
A module has high cohesion if all of its elements are working towards the same goal.
What is coupling? - answer
, What is important about the relationship between cohesion and coupling? - answerA well-designed
program is one with high cohesion (also called strong cohesion) within modules and low coupling (also
called weak coupling) between modules.
Modules are easier to read and understand.
Modules are easier to modify.
There is an increased potential for reuse.
Modules are easier to develop and test.
Explain separation of concerns: - answer
Name three examples of separation of concerns: - answer1. A web page with content expressed in
HTML and presentation style in CSS
2. OSI Reference Model
3.Database abstraction layer
Which has less coupling: a a dependency on an interface or a dependency on a concrete class? -
answerA dependency on an interface is less coupling then a dependency on a concrete class.
Are you more or less likely to have regression errors when maintaining code that abides by the single
responsibility principle? - answerLess likely
What is a fan? - answer
What is dependency inversion? - answer
What is dependency injection? - answer
answers 2025/2026 latest update
1.What is design? - answer
2.Why is design difficult? - answerBecause design is an abstraction of the solution which has yet to be
created
Can a try/catch statement contain a try/catch statement? - answer
3.What is the Law of Demeter? - answer
4.Name four design principles: - answer1. Cohesion
2. Coupling
3. Abstraction
4. Encapsulation
5.What is the difference between encapsulation and abstraction? - answer
6.Abstraction is a term used to describe the act of: - answerDiscarding irrelevant details within a given
context
7.What is the difference between routine design and original design? Give examples of each. - answer
What is cohesion? - answerCohesion is a measure of how strongly related the functions or
responsibilities of a module are.
A module has high cohesion if all of its elements are working towards the same goal.
What is coupling? - answer
, What is important about the relationship between cohesion and coupling? - answerA well-designed
program is one with high cohesion (also called strong cohesion) within modules and low coupling (also
called weak coupling) between modules.
Modules are easier to read and understand.
Modules are easier to modify.
There is an increased potential for reuse.
Modules are easier to develop and test.
Explain separation of concerns: - answer
Name three examples of separation of concerns: - answer1. A web page with content expressed in
HTML and presentation style in CSS
2. OSI Reference Model
3.Database abstraction layer
Which has less coupling: a a dependency on an interface or a dependency on a concrete class? -
answerA dependency on an interface is less coupling then a dependency on a concrete class.
Are you more or less likely to have regression errors when maintaining code that abides by the single
responsibility principle? - answerLess likely
What is a fan? - answer
What is dependency inversion? - answer
What is dependency injection? - answer