Which software design principle suggests that a function should perform one and only one job?
- Single Responsibility Principle (SRP)
- Open/Closed Principle (OCP)
- Liskov Substitution Principle (LSP)
- Interface Segregation Principle (ISP)
The Single Responsibility Principle (SRP) states that a function or module should have one and only one reason to change, which means it should perform one specific job or responsibility. This helps in making the code more maintainable and understandable.
Loading...
Related Quiz
- During stress testing, its vital to monitor system parameters like CPU usage, memory usage, and ______ to evaluate performance under stress.
- What is the primary purpose of conducting stress testing on a software system?
- How does the incorporation of SQA influence customer satisfaction and product reliability?
- In the context of software engineering, ______ ensures that the product is built according to the specified requirements, while ______ ensures that the product meets the user's needs.
- Discuss the significance of Release Management within Software Configuration Management in ensuring software quality.