The principle that suggests that software entities should be open for extension but closed for modification is known as?
- Single Responsibility Principle (SRP)
- Open/Closed Principle (OCP)
- Liskov Substitution Principle (LSP)
- Interface Segregation Principle (ISP)
The Open/Closed Principle (OCP) recommends that software entities (such as classes, modules, or functions) should be designed in a way that allows for extensions without modifying their source code. This promotes code stability and reusability.
Loading...
Related Quiz
- The Observer design pattern is mainly used in implementing distributed event-handling systems. What is the primary purpose of using it?
- How does the ISO/IEC 25010 standard classify software quality in terms of characteristics and sub-characteristics?
- In Quality Assurance, how does the testing phase vary between the Agile and Waterfall models?
- What does API stand for in the context of software development?
- Imagine a project that has well-defined requirements but a very tight deadline. Discuss how the Agile model might facilitate Quality Assurance in such a scenario.