What's the primary difference between test planning and test strategy?
- Planning's documentation
- Planning's scope
- Strategy's duration
- Strategy's overarching approach
The primary difference between test planning and test strategy is their purpose and scope. While test planning is a document that outlines the specifics of the testing process for a particular project, test strategy provides an overarching approach to testing across multiple projects or for an entire organization.
Which tool or method would be best for identifying vulnerabilities in a web application's code before it's deployed?
- Code Review
- JUnit
- Selenium
- Wireshark
A Code Review is a systematic examination of the application's source code. It's conducted to find vulnerabilities or bugs before the app is deployed. While tools like Selenium and JUnit focus on functional testing, and Wireshark on network analysis, only a thorough code review provides insights into code vulnerabilities.
_______ is a white-box testing technique that focuses on evaluating the logic of the program.
- Boundary Testing
- Compatibility Testing
- Path Testing
- Usability Testing
Path testing is a white-box testing technique that ensures every path through the program is tested at least once. It is particularly focused on evaluating the program's internal logic paths to ensure all code branches and potential execution paths are tested.
_______ testing is beneficial when there are frequent code changes, and immediate feedback on the changes is needed.
- Dynamic Testing
- Regression Testing
- Smoke Testing
- Unit Testing
Regression Testing is the process of testing changes to applications to make sure that the older programming still works with the new changes. It's crucial when there are frequent code changes to ensure that new code doesn't negatively impact existing functionality.
You're a software engineer tasked with ensuring a function behaves correctly for a vast range of input numbers. Which test design technique would be most effective?
- Decision Table Testing
- Equivalence Partitioning
- State Transition Testing
- Usability Testing
Equivalence Partitioning is a test design technique where input data is divided into different equivalence classes based on their behavior. Testing only one value from each class is deemed sufficient. For a vast range of input numbers, it reduces the number of tests while ensuring effective coverage.
_______ testing is a subtype of performance testing where specific functions or modules are rigorously evaluated for performance.
- Component
- Smoke
- Soak
- System
Component Testing: Also known as module or unit testing, this focuses on testing specific functions or modules of an application independently to ensure their performance. It aims to identify any issues at the component level before integrating them into the larger system.
The phase in the bug life cycle where the defect is retested to ensure its rectification is termed _______.
- Resolution
- Retesting
- Validation
- Verification
The "Retesting" phase in the bug life cycle is when a specific defect or bug has been fixed and is tested to ensure its rectification. It's a verification process to confirm that the particular defect has been successfully addressed.
You are assigned a project where components are being developed concurrently by multiple teams. What form of integration testing can ensure that as each piece is completed, it works correctly with the others?
- Acceptance Testing
- Big Bang Integration
- Incremental Integration
- System Testing
Incremental Integration testing involves testing parts of a system sequentially as they're developed. In environments where multiple teams work on different components, this approach ensures that each new piece integrates smoothly with the existing parts, helping detect issues early and reducing integration risks.
You're in a meeting where a team member presents a portion of the system's design, and the group asks questions to understand and potentially identify flaws. What type of review process is this scenario most similar to?
- Formal Review
- Inspection
- Pair Programming
- Walkthrough
A Walkthrough is a type of review where the author leads members of the review through the document based on their understanding. It's informal in nature and often relies on scenarios to provide the reviewers with a deeper understanding. The main goal is to gather feedback and achieve a common understanding.
The aspect of Configuration Management that ensures no unauthorized changes have been made to the software is known as _______.
- Change Management
- Configuration Auditing
- Configuration Control
- Configuration Identification
Configuration Auditing is a critical aspect of Configuration Management. It involves the process of evaluating and examining the configurations to ensure that they align with the approved configuration documentation. Through this, unauthorized changes, discrepancies, or inconsistencies can be detected and addressed promptly.