Which of the following statements is/are true? P: In software engineering,…

2019

Which of the following statements is/are true?

P: In software engineering, defects that are discovered earlier are more expensive to fix.

Q: A software design is said to be a good design, if the components are strongly cohesive and weakly coupled.

Select the correct answer from the options given below:

  1. A.

    P only

  2. B.

    Q only

  3. C.

    P and Q

  4. D.

    Neither P nor Q

Attempted by 262 students.

Show answer & explanation

Correct answer: B

Answer: Statement Q only is true.

  • Why P is false: P claims that defects discovered earlier are more expensive to fix. This is incorrect — the cost to fix a defect generally increases the later it is found in the development lifecycle. For example, fixing a requirements error after release is far more costly than addressing it during requirements analysis.

  • Why Q is true: A good software design has components that are strongly cohesive (each component has a focused responsibility) and weakly coupled (minimal dependencies between components). These properties improve maintainability, testability, and reusability.

  • Conclusion: Only the statement about strong cohesion and weak coupling is correct; the statement about defects being more expensive to fix when discovered earlier is false.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor