Podcast
Questions and Answers
What does LCOM stand for?
What does LCOM stand for?
- Large Cohesion of Methods
- Lack of Coupling in Methods
- Level of Cohesion in Methods
- Lack of Cohesion in Methods (correct)
What is the formula for LCOM if |P| > |Q|?
What is the formula for LCOM if |P| > |Q|?
- LCOM = |P| - |Q| (correct)
- LCOM = |P| * |Q|
- LCOM = |P| + |Q|
- LCOM = |P| / |Q|
What is the relationship between coupling and cohesion?
What is the relationship between coupling and cohesion?
- Increase in coupling implies increase in cohesion
- Decrease in coupling implies decrease in cohesion
- Decrease in coupling implies increase in cohesion
- Increase in coupling implies decrease in cohesion (correct)
What is the total number of pairs of methods in a class C with n methods?
What is the total number of pairs of methods in a class C with n methods?
What does a high LCOM value indicate?
What does a high LCOM value indicate?
What is the consequence of a high LCOM value?
What is the consequence of a high LCOM value?
What is desirable for modularity?
What is desirable for modularity?
What is the significance of LCOM in predicting the fault-proneness of a class?
What is the significance of LCOM in predicting the fault-proneness of a class?
What is the purpose of LCOM?
What is the purpose of LCOM?
What is the relationship between LCOM and the number of cohesive methods?
What is the relationship between LCOM and the number of cohesive methods?