10 Questions
What does LCOM stand for?
Lack of Cohesion in Methods
What is the formula for LCOM if |P| > |Q|?
LCOM = |P| - |Q|
What is the relationship between coupling and cohesion?
Increase in coupling implies decrease in cohesion
What is the total number of pairs of methods in a class C with n methods?
n(n-1)
What does a high LCOM value indicate?
The methods are trying to do different things and operate on different data entities
What is the consequence of a high LCOM value?
The class can be partitioned into different classes
What is desirable for modularity?
High cohesion and low LCOM
What is the significance of LCOM in predicting the fault-proneness of a class?
LCOM is not significant
What is the purpose of LCOM?
To measure the cohesion between methods
What is the relationship between LCOM and the number of cohesive methods?
The larger the number of cohesive methods, the lower the LCOM
Test your understanding of software project estimation in object-oriented analysis and design. Topics include software measurement, quantified attributes, and software process characteristics.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free