OOAD Chapter 9: Software Project Estimation

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

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|?

  • LCOM = |P| - |Q| (correct)
  • LCOM = |P| * |Q|
  • LCOM = |P| + |Q|
  • LCOM = |P| / |Q|

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?

<p>n(n-1) (D)</p> Signup and view all the answers

What does a high LCOM value indicate?

<p>The methods are trying to do different things and operate on different data entities (D)</p> Signup and view all the answers

What is the consequence of a high LCOM value?

<p>The class can be partitioned into different classes (A)</p> Signup and view all the answers

What is desirable for modularity?

<p>High cohesion and low LCOM (D)</p> Signup and view all the answers

What is the significance of LCOM in predicting the fault-proneness of a class?

<p>LCOM is not significant (A)</p> Signup and view all the answers

What is the purpose of LCOM?

<p>To measure the cohesion between methods (B)</p> Signup and view all the answers

What is the relationship between LCOM and the number of cohesive methods?

<p>The larger the number of cohesive methods, the lower the LCOM (B)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Software Project Planning
30 questions
Software Project Estimation Methods
18 questions
Estimation des projets logiciels
45 questions
Use Quizgecko on...
Browser
Browser