Which design principle promotes keeping a software module focused on one well-defined responsibility?

Options

  • A. Single Responsibility Principle
  • B. Multiple Responsibility Principle
  • C. High Coupling Principle
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Single Responsibility Principle

Detailed Explanation

The Single Responsibility Principle (SRP) states that a module or class should have one well-defined responsibility and therefore one primary reason to change. It helps improve maintainability and reduces unnecessary dependencies.