Coupling-and-Cohesion Software- Engineering Questions-Answers

Coupling-and-Cohesion Software- Engineering Questions-Answers

Q1➡ |Coupling-and-Cohesion
Most Undesirable Type of Coupling is
i ➥ Data Coupling
ii ➥ Control Coupling
iii ➥ Stamp Coupling
iv ➥ Content Coupling

Show Answer With Best Explanation

Answer: iv
Explanation:


Q2➡ |Coupling-and-Cohesion
Let various levels of cohesion of software modules be denoted by C,T,S, and F as given below:
C: Coincidental
F: Functional
S: Sequential
T: Temporal
Which of the following ordered tuples represents correct ordering from weakest to strongest level of cohesion?
i ➥ < T,S,C,F >
ii ➥ < C,T,S,F >
iii ➥ < C,T,F,S >
iv ➥ < C,S,F,T >

Show Answer With Best Explanation

Answer: ii
Explanation:


Q3➡ |Coupling-and-Cohesion
In a class definition with 10 methods, to make the class maximally cohesive, number of direct and indirect connections required among the methods are
i ➥ 90, 0
ii ➥ 45, 0
iii ➥ 10, 10
iv ➥ 45, 45

Show Answer With Best Explanation

Answer: ii
Explanation:


Q4➡ |Coupling-and-Cohesion
Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
i ➥ Inheritance
ii ➥ Polymorphism
iii ➥ Encapsulation
iv ➥ Abstraction

Show Answer With Best Explanation

Answer: iii
Explanation:


Coupling-and-Cohesion Software- Engineering Questions-Answers

Q5➡ |Coupling-and-Cohesion
The distributed system is a collection of (P)and communication is achieved in distributed system by (Q), where (P) and (Q) are:
i ➥ Loosely coupled software on tightly coupled hardware and file sharing, respectively.
ii ➥ Tightly coupled software on loosely coupled hardware and message passing, respectively
iii ➥ Tightly coupled hardware on loosely coupled software and shared memory, respectively
iv ➥ Loosely coupled hardware on tightly coupled software and disk sharing, respectively.

Show Answer With Best Explanation

Answer: ii
Explanation:


Q6➡ |Coupling-and-Cohesion
Which of the following combination is preferred with respect to cohesion and coupling :
i ➥ low and low
ii ➥ low and high
iii ➥ high and low
iv ➥ high and high

Show Answer With Best Explanation

Answer: iii
Explanation:

Coupling-and-Cohesion Software- Engineering Questions-Answers


Q7➡ |Coupling-and-Cohesion
In a function oriented design, we
i ➥ minimize cohesion and minimize coupling
ii ➥ maximize cohesion and maximize coupling
iii ➥ maximize cohesion and minimize coupling
iv ➥ minimize cohesion and maximize coupling

Show Answer With Best Explanation

Answer: iii
Explanation:


Q8➡ |Coupling-and-Cohesion
The relationship of data elements in a module is called
i ➥ Coupling
ii ➥ Modularity
iii ➥ Cohesion
iv ➥ Granularity

Show Answer With Best Explanation

Answer: iii
Explanation:


Q9➡ |Coupling-and-Cohesion
Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect to module coupling?
P: Common Coupling occurs when two modules share the same global data
Q: control Coupling occur when modules share a composite data structure and use only part of it.
R: Content coupling occurs when one module modifies or relies on the internal working of another module.
i ➥ P and Q only
ii ➥ P and R only
iii ➥ Q and R only
iv ➥ All of P,Q and R

Show Answer With Best Explanation

Answer: ii
Explanation:


Q10➡ |Coupling-and-Cohesion
Which type of coupling is least preferred ?
i ➥ Content coupling
ii ➥ Data coupling
iii ➥ Control coupling
iv ➥ Common coupling

Show Answer With Best Explanation

Answer: i
Explanation:


Q11➡ |Coupling-and-Cohesion
The lower degree of cohesion is :
i ➥ logical cohesion
ii ➥ coincidental cohesion
iii ➥ procedural cohesion
iv ➥ communicational cohesion

Show Answer With Best Explanation

Answer: ii
Explanation:


Coupling-and-Cohesion Software- Engineering Questions-Answers

Q12➡ |Coupling-and-Cohesion
Cohesion is an extension of:
i ➥ Abstraction concept
ii ➥ Refinement concept
iii ➥ Information hiding concept
iv ➥ Modularity

Show Answer With Best Explanation

Answer: iii
Explanation:


Q13➡ |Coupling-and-Cohesion
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.
i ➥
ii ➥
iii ➥
iv ➥

Show Answer With Best Explanation

Answer: iv
Explanation:


Q14➡ |Coupling-and-Cohesion
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.
i ➥ Only S1
ii ➥ Only S3
iii ➥ Only S1 and S2
iv ➥ Only S1 and S2

Show Answer With Best Explanation

Answer: ii
Explanation:


Q15➡ |Coupling-and-Cohesion
In structured programming, a program is decomposed into modules. Coupling and Cohesion describe the characteristics of modules. A good decomposition should attempt to
i ➥ Maximize coupling and maximize cohesion
ii ➥ Minimize coupling and maximize cohesion
iii ➥ Maximize coupling and minimize cohesion
iv ➥ Minimize coupling and minimize cohesion

Show Answer With Best Explanation

Answer: ii
Explanation:


Q16➡ |Coupling-and-Cohesion
Which of the following is a desirable property of module?
i ➥ Independency
ii ➥ Low Cohesiveness
iii ➥ High Coupling
iv ➥ Multifunctional

Show Answer With Best Explanation

Answer: iv
Explanation:


follow important topics
SDLC- software development life cycle
Software engineering Models
Waterfall model
Software Requirement
Software Design
Software Testing
COCOMO Model

Coupling-and-Cohesion
UML(Unified Modeling Language)
Software-configuration-management
Software-Re-engineering
Software Quality
Cyclomatic Complexity
Capability Maturity Model Integration (CMMI)
Software Reliability
error: Content is protected !!
Open chat
1
Hi,how Can We Help You ?