During stress testing, what aspect of a software system is primarily evaluated?
- Usability
- Security
- Reliability
- Performance
Stress testing primarily evaluates the performance aspect of a software system. It aims to determine how the system handles heavy workloads and high stress conditions, including response times and resource utilization.
Which principle suggests that derived classes must be substitutable for their base classes?
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism
The principle suggesting that derived classes must be substitutable for their base classes is "Polymorphism." It allows objects of derived classes to be used where objects of the base class are expected, enabling flexibility and extensibility in software design.
A ______ audit is performed to ensure that all contractual agreements have been fulfilled and the product meets the specified requirements.
- Technical
- Quality
- Compliance
- Code
A compliance audit is performed to ensure that all contractual agreements, legal requirements, and specified standards have been fulfilled. In the context of software engineering, this type of audit is crucial to confirm that the product adheres to all requirements and agreements.
The main objective of ______ maintenance is to foresee and solve problems and issues before they occur.
- Corrective
- Adaptive
- Preventive
- Perfective
Preventive maintenance focuses on anticipating and preventing issues before they occur. It involves tasks such as code reviews, proactive bug-fixing, and performance optimization to maintain the system's reliability.
When is regression testing typically performed within the software development process?
- At the beginning of the development phase
- After the software has been released to users
- During the initial testing phase
- After code changes are made, and before a new release or update
Regression testing is typically performed after code changes are made and before a new release or update of the software. It ensures that existing functionality remains intact after modifications.
If a software development team is adhering to Test-Driven Development (TDD) principles, how might the process of Unit Testing be integrated into their daily work?
- Unit tests are conducted only after the entire system is built
- Unit tests are written before the code is implemented
- Unit tests are conducted by a separate QA team
- Unit tests are skipped in TDD
In Test-Driven Development (TDD), unit tests are written before the code implementation. This approach ensures that each unit of code is thoroughly tested before it's even created, helping to identify and prevent defects early in the development process.
Why is normalization used in database design?
- To increase redundancy
- To improve data integrity
- To speed up data retrieval
- To simplify query language
Normalization is used in database design to improve data integrity by reducing redundancy. Redundant data can lead to anomalies and inconsistencies in the database. Normalization involves breaking down the data into smaller, related tables to minimize redundancy.
In regression testing, ______ can be utilized to track the system's stability and functionality over successive iterations.
- Bug tracking
- Defect reports
- Traceability matrices
- Version control
In regression testing, version control systems can be utilized to track the system's stability and functionality over successive iterations. These systems help manage code changes, provide historical data, and enable the comparison of different versions to identify potential regression issues.
Imagine a scenario where a piece of software has been deployed, and users are encountering numerous unexpected errors. Discuss how corrective maintenance strategies might be implemented to resolve the issues.
- Correct the errors as they occur
- Plan and schedule periodic error corrections
- Ignore the errors until a major release
- Communicate with users and provide workarounds
Corrective maintenance strategies in this scenario involve addressing errors as they occur. This approach ensures that issues are promptly fixed to minimize user disruption and maintain the software's reliability. Delaying error corrections or ignoring them can lead to decreased user satisfaction and could exacerbate problems in the long run.
White box testing is also known as _____ testing due to its focus on internal structures.
- Functional
- Structural
- Black box
- System
White box testing is also known as "Structural" testing because it focuses on the internal structures of the software. It examines the code and internal logic to identify issues and defects.