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:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. Q only
Explanation
P is false. The cost of fixing a defect rises sharply the later it is found: a requirements error caught during review costs very little, while the same error found after release costs orders of magnitude more because design, code, tests and documentation all have to be reworked. So defects discovered earlier are cheaper, not more expensive, to fix. Q is true and is the classic Stevens–Myers–Constantine criterion: a good modular design maximises cohesion within each module and minimises coupling between modules, which keeps modules independently understandable and changeable. Therefore only Q is true, option (ii).More Programming Languages and Computer Graphics questions
- Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect…
- Match each UML diagram in List-I with the appropriate description in List-II: List-I (a) State Diagram (b) Use-Case Diagram (c) Class Diagr…
- Coupling is a measure of the strength of the interconnections between software modules. Which of the following are correct statements with…
- A software design pattern often used to restrict access to an object is:
- Consider the following statements regarding software architecture: S1: Coupling is a measure of how well the things grouped together in a m…
- A software design pattern used to enhance the functionality of an object at run-time is: